Ivan Blinkov
45d1ca2567
merge master
2020-06-24 00:18:16 +03:00
Ivan Blinkov
87d56d700f
restore old toStringImpl signature
2020-06-24 00:15:54 +03:00
Artem Zuikov
92016e8bfb
Fix if function with NULLs ( #11807 )
2020-06-24 00:06:32 +03:00
bharatnc
9be7ab0341
fix style check - removed unused LOGICAL_ERROR
2020-06-23 13:06:22 -07:00
Alexey Milovidov
cda2687195
Merge branch 'master' into fix-fpe-datetime64
2020-06-23 22:45:45 +03:00
alexey-milovidov
55eee9bfa1
Merge pull request #11745 from ClickHouse/atomic_metadata5
...
Atomic metadata.
2020-06-23 22:28:40 +03:00
alexey-milovidov
33dfbdcbe9
Update StorageSystemTables.cpp
2020-06-23 22:28:26 +03:00
Alexander Tokmakov
7b5de16da9
minor improvements
2020-06-23 22:15:01 +03:00
Nikolai Kochetov
658a2d0dc0
Fix anotehr one nullable prewhere column.
2020-06-23 21:52:32 +03:00
Alexey Milovidov
c51c2656eb
Fix bad code
2020-06-23 20:39:30 +03:00
Alexander Kuzmenkov
f0fbba5522
allow implicit initialization
2020-06-23 20:31:46 +03:00
Alexander Kuzmenkov
1a63972a4b
Merge remote-tracking branch 'origin/master' into bnc/config-max-num-threads
2020-06-23 20:25:07 +03:00
alexey-milovidov
be14b42fdb
Merge pull request #11878 from ucasFL/sha256
...
SHA256 add FixedString support
2020-06-23 20:15:31 +03:00
Alexander Kazakov
0510911559
Merge pull request #11071 ( #11874 )
...
* Add's hasSubstr array function
* Add's example in the english doc of hasSubStr
* Updates conditions to avoid prematurely calling isEqual
* Remove feathericons
Authored-by: Ryad ZENINE <ryad.zenine@contentsquare.com>
2020-06-23 17:42:19 +03:00
Alexander Kuzmenkov
e0bdbe73d2
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-23 15:31:09 +03:00
Alexander Kuzmenkov
ab809f59b9
memory usage settings
2020-06-23 15:30:45 +03:00
hexiaoting
9135cb1bf1
fix bug for query "select *, abc.*" should failed. ( #11753 )
2020-06-23 12:16:42 +03:00
amudong
2a51286527
Optimize code
2020-06-23 16:22:53 +08:00
alesapin
4185fe9975
Merge branch 'master' into atomic_metadata5
2020-06-23 11:13:05 +03:00
alesapin
292016e045
Add missed lock
2020-06-23 11:04:43 +03:00
alexey-milovidov
1c1e12f06b
Merge pull request #11826 from ClickHouse/send-logs-on-fatal-errors
...
Send logs to client on fatal errors if possible
2020-06-23 09:49:48 +03:00
alexey-milovidov
b4475086ab
Merge pull request #11840 from azat/fix-http-memory-accounting
...
Fix memory accounting via HTTP interface
2020-06-23 09:48:42 +03:00
Alexander Kuzmenkov
442b78db5b
Merge pull request #11865 from ClickHouse/aku/sum-with-overflow
...
Support sumWithOverflow as SimpleAggregateFunction
2020-06-23 09:12:39 +03:00
feng lv
fc75032b67
SHA256 add FixedString support
2020-06-23 13:35:35 +08:00
amudong
cca8df6b78
format comment
2020-06-23 12:24:05 +08:00
amudong
0101947403
rewrite static StorageReplicatedMergeTree::dropReplica
2020-06-23 12:12:30 +08:00
amudong
7723dc4935
add drop relica database and the whole replica
...
fix removeReplicaByZKPath
fix bug: add zkpath empty judge
fix: rewrite code
delete useless code.
fix:ast fromat
fix bug
add test_drop_replica
add drop_replica doc
add drop databse checkAccess
refactor dropReplica
update tests
add static method StorageReplicatedMergeTree::dropReplicaByZkPath
update doc and delete useless code
fix conflict
fix doc
fix doc
fix StorageReplicatedMergeTree::dropReplica
fix bug
delete useless code
2020-06-23 12:12:30 +08:00
amudong
2e6a3eff8e
fix: can not drop local table and replace ALTER with SYSTEM
...
fix test_drop_replica
fix drop replica '/path/to/zk/' ending in '/' and update doc
2020-06-23 12:12:30 +08:00
sundy-li
0a4af8f0a7
add SYSTEM DROP REPLICA
2020-06-23 12:12:30 +08:00
sundy-li
15ad830290
only drop inactive replica
...
update doc
Increase timeout to release the zookeeper Ephemeral nodes
Fix code comment
use PartitionManager
make integrations test passed
2020-06-23 12:12:30 +08:00
sundy-li
34df59baf8
Add tests and docs
...
Fix integration-tests
2020-06-23 12:12:30 +08:00
sundy-li
d4aa3cea4b
fix merge state
...
Fix style && build
2020-06-23 12:12:30 +08:00
sundy-li
906a43e4a8
Add drop replica alter support
2020-06-23 12:12:30 +08:00
zhang2014
c3a38e7f8c
apply review suggestions
2020-06-23 11:15:55 +08:00
alexey-milovidov
a7b224a578
Merge pull request #11869 from ClickHouse/fix-nullable-prewhere-type-2
...
Fix nullable prewhere type 2
2020-06-23 02:48:59 +03:00
Alexey Milovidov
112f6153a7
Fix strange code
2020-06-23 01:06:25 +03:00
Alexey Milovidov
1191679965
Fix wrong code
2020-06-23 00:54:19 +03:00
Alexey Milovidov
4ace4b4c75
Fix bugs in DateTime64 parsing
2020-06-22 23:54:36 +03:00
Alexey Milovidov
75357ab98d
constexpr intExp10
2020-06-22 23:32:29 +03:00
Alexander Kuzmenkov
e76941b52c
Merge pull request #11669 from azat/distributed_replica_error_ignore
...
Add number of errors to ignore while choosing replicas
2020-06-22 22:06:04 +03:00
Alexander Kuzmenkov
96d2e9c997
Initialize GlobalThreadPool explicitly
2020-06-22 22:04:12 +03:00
Anton Popov
78d28be8cf
check in-memory parts, comments and style-fixes
2020-06-22 21:57:50 +03:00
alexey-milovidov
ac89571d71
Merge pull request #11858 from ClickHouse/unsigned_type_modifier
...
Addition to #11214
2020-06-22 20:53:48 +03:00
robot-clickhouse
4bd47b8adc
Auto version update to [20.6.1.1] [54436]
2020-06-22 20:40:26 +03:00
alesapin
ef89a6f728
Merge pull request #11786 from ClickHouse/fix_alter_with_materialized
...
Fix alter key when materialized column passed
2020-06-22 19:06:25 +03:00
Nikolai Kochetov
ae21aca3a3
Fix header for nullable prewhere column.
2020-06-22 19:01:59 +03:00
alesapin
c76b4b3481
Clang-tidy fixes
2020-06-22 18:51:11 +03:00
Alexander Kuzmenkov
a257ce63a8
Support sumWithOverflow as SimpleAggregateFunction
2020-06-22 17:32:52 +03:00
alesapin
1fefb86f7b
Merge branch 'master' into atomic_metadata5
2020-06-22 17:00:33 +03:00
zhang2014
b820cfb3b6
fix read extra bytes when with separator
2020-06-22 21:30:55 +08:00
Alexander Kuzmenkov
bd5ab9c686
Merge remote-tracking branch 'origin/master' into bnc/config-max-num-threads
2020-06-22 15:55:39 +03:00
Alexey Milovidov
b50b4b14de
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-22 15:48:46 +03:00
Alexander Kuzmenkov
7ab326a143
remove unneeded define
2020-06-22 15:34:25 +03:00
Alexander Kuzmenkov
ffc5b21bad
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-22 15:28:03 +03:00
zhang2014
ee2ca536ff
try fix build failure
2020-06-22 20:01:54 +08:00
Alexander Tokmakov
18ec373369
support (un)signed modifiers for integer types
2020-06-22 14:45:45 +03:00
tavplubix
0e42649e39
Merge pull request #11855 from zhang2014/fix/build_failure
...
fix PostgreSQL protocol build failure
2020-06-22 14:07:22 +03:00
alexey-milovidov
d6abf45a2d
Merge pull request #11847 from ClickHouse/DimasKovas-arch-chooser
...
Merging #10058
2020-06-22 14:01:10 +03:00
alexey-milovidov
281a6d6e46
Merge pull request #11824 from ClickHouse/print-build-id
...
Print build id in crash messages
2020-06-22 13:59:48 +03:00
alesapin
f262c4f652
Better comments
2020-06-22 12:49:21 +03:00
zhang2014
b3ef9a90e9
Support parse uuid without separator
2020-06-22 17:31:30 +08:00
zhang2014
903cb4c4e2
fix PostgreSQL protocol build failure
2020-06-22 17:12:00 +08:00
alesapin
b1e8976df4
Merge with master
2020-06-22 12:04:27 +03:00
alesapin
b9e74f4e82
Merge branch 'master' into atomic_metadata5
2020-06-22 12:03:53 +03:00
alesapin
4cf1f84172
Merge pull request #11848 from ClickHouse/better-diagnostic-for-logical-error-test-992
...
Better diagnostics for logical error triggered by test 00992
2020-06-22 11:13:51 +03:00
Ivan Blinkov
7b1ab482b0
restore immediate stacktrace output
2020-06-22 10:22:13 +03:00
Ivan Blinkov
2c0ff29c48
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-22 10:06:36 +03:00
alexey-milovidov
5decc73b5d
Merge pull request #11832 from ClickHouse/mysql-vars
...
Added support for MySQL style global variables syntax
2020-06-22 03:04:04 +03:00
alexey-milovidov
dd31bcff66
Merge pull request #11846 from ClickHouse/prohibit-array-join-in-higher-order-functions
...
Don't allow arrayJoin inside higher order functions
2020-06-22 03:00:51 +03:00
Alexey Milovidov
69008521f6
Fix build
2020-06-22 00:17:19 +03:00
Alexey Milovidov
4dcc0a0f86
Better diagnostics for logical error triggered by test 00992
2020-06-22 00:07:06 +03:00
Alexey Milovidov
318b35cd85
generate-ya-make
2020-06-21 23:22:34 +03:00
alexey-milovidov
0135771d7f
Merge pull request #11839 from ClickHouse/tuple-compare-const-string
...
Fix comparison of tuple with constant string
2020-06-21 21:59:15 +03:00
Alexey Milovidov
3f0931ad72
Fix build
2020-06-21 21:57:20 +03:00
Alexey Milovidov
a8e739b191
Fix build
2020-06-21 21:52:58 +03:00
Alexey Milovidov
8cc411c5b5
Clarify setting
2020-06-21 21:50:02 +03:00
Alexey Milovidov
8100423b7e
Style
2020-06-21 21:47:16 +03:00
alexey-milovidov
c3a5c32a48
Merge branch 'master' into arch-chooser
2020-06-21 21:30:06 +03:00
alexey-milovidov
38b018fa04
Update executeQuery.cpp
2020-06-21 21:29:11 +03:00
Alexey Milovidov
7117b419b9
Don't allow arrayJoin inside higher order functions #3933
2020-06-21 21:22:34 +03:00
alexey-milovidov
59d3e200ce
Merge pull request #11831 from ClickHouse/decimal-cut-extra-digits-after-point
...
Make reading of Decimal more compatible with other DBMS
2020-06-21 21:03:06 +03:00
Alexey Milovidov
199a6576a5
Remove dependency
2020-06-21 19:37:12 +03:00
Alexey Milovidov
9c97a1e6d1
Merge branch 'master' into mysql-vars
2020-06-21 19:12:24 +03:00
Alexey Milovidov
fac2c6050c
Fix UBSan
2020-06-21 19:10:38 +03:00
Alexey Milovidov
8a3610bad8
Fix build
2020-06-21 19:08:41 +03:00
Alexey Milovidov
0b2ffb9c77
Merge branch 'master' into print-build-id
2020-06-21 19:08:07 +03:00
Alexey Milovidov
71317dd59c
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-21 19:05:20 +03:00
Azat Khuzhin
844960195d
Fix memory accounting via HTTP interface
...
function perf_test()
{
time yes '127.1:8123/?wait_end_of_query=1' | head -n10000 | xargs -P10000 curl -s -d 'select 1' | grep -x -c 1
}
function server()
{
local limit=$1 && shift
clickhouse-server "$@" -- --max_server_memory_usage=$limit
}
perf_test:
- before this patch with 1G limit: succeed only ~800 queries
- after this patch with 1G limit: succeed ~8000 queries
- before this patch with 10G limit: succeed only ~3000 queries
- after this patch with 10G limit: succeed ~10000 queries
Fixes : #11153
2020-06-21 17:27:54 +03:00
alexey-milovidov
863b46534f
Update FunctionsComparison.h
2020-06-21 17:25:41 +03:00
Alexey Milovidov
9514965207
Fix comparison of tuple with constant string
2020-06-21 16:23:32 +03:00
Azat Khuzhin
fb30629ff2
Add settings to control nesting level for shards skipping optimization
...
- optimize_skip_unused_shards_nesting (allows control nesting level for
shards skipping optimization)
- force_skip_optimize_shards_nesting (allows control nesting level for
checking was shards skipped or not)
- deprecates force_skip_optimize_shards_no_nested
2020-06-21 15:27:01 +03:00
Alexey Milovidov
3f96bdaa24
Minor changes after merge
2020-06-21 15:16:08 +03:00
Alexey Milovidov
814c1019b2
Fix build after merge
2020-06-21 14:41:06 +03:00
alexey-milovidov
4ee623ccac
Merge pull request #10242 from MovElb/movelb-postgresql-wire-protocol-impl
...
PostgreSQL wire protocol implementation
2020-06-21 14:39:22 +03:00
alexey-milovidov
f4a1872085
Update WriteHelpers.h
2020-06-21 14:32:54 +03:00
alexey-milovidov
e6ab9b969e
Merge pull request #11830 from zlobober/fix_mmap_threshold
...
Move MMAP_THRESHOLD definition to .cpp file.
2020-06-21 14:07:07 +03:00
alexey-milovidov
90b5e5d2f9
Merge pull request #11688 from ClickHouse/query-plan
...
Query plan
2020-06-21 14:05:13 +03:00
Alexey Milovidov
fe71a8eb8c
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-21 13:55:11 +03:00
Alexey Milovidov
9bbb4ff3d8
Added missing file
2020-06-21 13:54:28 +03:00
Alexey Milovidov
477116844f
Fix Arcadia
2020-06-21 13:53:54 +03:00