bharatnc
c796b0c1cb
add exception_status column
2021-01-07 11:10:41 -08:00
bharatnc
9004d4384d
Add query_start|finish_time, query_dureation_ms
2021-01-07 11:10:41 -08:00
bharatnc
6da923cbe1
Use tryGetChildren() for Zookeeper
2021-01-07 11:10:41 -08:00
bharatnc
57126d1901
Add values column and fix tests
2021-01-07 11:10:41 -08:00
bharatnc
2a122905f1
Review - initial round of changes
2021-01-07 11:10:41 -08:00
bharatnc
c0d32dee37
DDLWorkerQueueTable - make loop vars a const ref
2021-01-07 11:10:41 -08:00
bharatnc
cc568a1d2c
DDLWorkerQueueTable - load distributed_ddl.path from server config
2021-01-07 11:10:40 -08:00
bharatnc
56a8532781
DDLWorkerQueueTable - populate active and finished columns
2021-01-07 11:10:40 -08:00
bharatnc
5af6f11325
DLLWorkerQueueTable - remove unimplemented function
2021-01-07 11:10:40 -08:00
bharatnc
da174a63d1
DDLWorkerQueueTable - initial attempt to fetch entries from zk
2021-01-07 11:10:40 -08:00
bharatnc
2c1f9e2a77
DDLWorkerQueueTable - add intial scaffolding
2021-01-07 11:10:40 -08:00
alexey-milovidov
a08db94343
Revert "Add metrics for part number in MergeTree in ClickHouse"
2021-01-07 16:40:52 +03:00
Alexey Milovidov
36e1361cf8
Miscellaneous
2021-01-07 15:29:34 +03:00
alexey-milovidov
f91626e7ff
Merge pull request #17838 from weeds085490/dev/add_metrics_for_parts
...
Add metrics for part number in MergeTree in ClickHouse
2021-01-07 15:27:04 +03:00
alexey-milovidov
b73722e587
Merge pull request #18806 from azat/If-combinator-Nullable-fix
...
Fix *If combinator with unary function and Nullable types
2021-01-07 15:25:54 +03:00
alexey-milovidov
703e16db5a
Update StorageMergeTree.cpp
2021-01-07 06:38:05 +03:00
Azat Khuzhin
fdcfacda60
Fix *If combinator with Nullable types
...
sumIf(Nullable()) and similar unary functions (unary w/o If combinator)
was working incorrectly, since it returns "sum" from the getName()
helper, and so distributed query processing fails.
The problem is in the optimization in
AggregateFunctionIfNullUnary::add() for the unary functions. It pass
only one column to write result to, instead of all passed arguments +
result columns.
While AggregateFunctionIf::add() assumes that it accepts arguments +
result columns, and use last column as a result.
Introduced-in: #16610
Fixes : #18210
2021-01-07 03:09:13 +03:00
alexey-milovidov
7e1d5b0387
Update FunctionsStringHash.h
2021-01-07 00:10:54 +03:00
Azat Khuzhin
6261d4135c
Add sanity checks for Sim/Min hash arguments
...
Fixes : #18799
Fixes : #18524
2021-01-06 22:38:05 +03:00
alexey-milovidov
13e4579052
Merge pull request #18712 from amosbird/limitpartition
...
add max_partitions_to_read setting
2021-01-06 21:29:58 +03:00
alexey-milovidov
5b98767652
Update MergeTreeSettings.h
2021-01-06 21:29:45 +03:00
alexey-milovidov
c944035f0b
Merge pull request #18699 from amosbird/exceptregex
...
column excepts with regex
2021-01-06 21:28:09 +03:00
jianmei zhang
4950377fbf
code changes according to reviewer's comments
2021-01-06 21:05:45 +03:00
jianmei zhang
2256227361
SQL compatibility: provide POSITION(needle IN haystack) syntax.
2021-01-06 21:05:45 +03:00
alexey-milovidov
417e685830
Merge pull request #18775 from ClickHouse/dont-insert-empty-blocks-distributed-sync
...
Do not insert empty blocks on sync Distributed INSERT
2021-01-06 20:06:35 +03:00
alexey-milovidov
76a32dfdd3
Merge pull request #18776 from ClickHouse/distributed_async_insert_compression
...
Fix the issue with async Distributed INSERTs and network_compression_method
2021-01-06 19:59:41 +03:00
Nikolai Kochetov
a20c4cce76
Merge pull request #18715 from ClickHouse/try-fix-tsan-forremote-query-executor
...
Use relaxed for flag in RemoteQueryExecutorReadContext.
2021-01-06 18:04:30 +03:00
weeds085490
5f5b86b485
Merge remote-tracking branch 'origin' into dev/add_metrics_for_parts
2021-01-06 17:32:45 +08:00
Amos Bird
0260953a47
better
2021-01-06 17:18:48 +08:00
alexey-milovidov
255182060e
Merge pull request #18768 from ClickHouse/do-not-materialize-header
...
Do not materialize block for FetchColumns header.
2021-01-06 03:43:23 +03:00
Alexey Milovidov
1572d2122b
Respect network_compression_method in async INSERT into Distributed table
2021-01-06 03:41:34 +03:00
Alexey Milovidov
438f0f971b
Fix the issue with async Distributed INSERTs and network_compression_method #18741
2021-01-06 03:24:42 +03:00
Alexey Milovidov
190402b7d5
Do not insert empty blocks on sync Distributed INSERT
2021-01-06 02:54:22 +03:00
alexey-milovidov
176358f0b4
Merge pull request #18758 from ClickHouse/remove-useless-headers
...
Remove some headers
2021-01-06 00:34:46 +03:00
Nikolai Kochetov
f955ccecf4
Do not materialize block for FetchColumns header.
2021-01-05 21:04:25 +03:00
alexey-milovidov
202d1f2211
Merge pull request #18760 from spongedu/fix_#18701
...
[For #18707 ] MySQL compatibility: support DIV and MOD operators
2021-01-05 20:42:58 +03:00
alexey-milovidov
06143d73ca
Merge pull request #15260 from ClickHouse/revert-15259-revert-14962-log-avoid-deadlock
...
Avoid deadlocks in Log/TinyLog (part 2)
2021-01-05 20:12:17 +03:00
alexey-milovidov
70d899340e
Update PushingToViewsBlockOutputStream.h
2021-01-05 20:10:12 +03:00
alexey-milovidov
fd27990d96
Merge pull request #18750 from ClickHouse/fix-bad-code-joins
...
Remove bad code in HashJoin
2021-01-05 19:57:49 +03:00
alexey-milovidov
06225f7910
Merge pull request #18749 from ClickHouse/uuid-fuzz
...
Don't allow conversion between UUID and numeric types
2021-01-05 19:57:33 +03:00
alexey-milovidov
2e98f6f4ee
Merge pull request #18745 from ClickHouse/dont-throw-from-parser
...
Do not throw from Parser
2021-01-05 19:57:17 +03:00
spongedc
99335563d1
[For #18707 ] MySQL compatibility: support DIV and MOD operators
2021-01-05 13:03:19 +08:00
Alexey Milovidov
dab4719aac
Remove some headers
2021-01-05 06:22:06 +03:00
Alexey Milovidov
5368b20a71
Fix error
2021-01-05 04:49:15 +03:00
Alexey Milovidov
cbc54e2dd7
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2021-01-05 04:27:32 +03:00
Alexey Milovidov
a1ce6c4165
Fix errors
2021-01-05 04:26:29 +03:00
Alexey Milovidov
c378710f6b
Merge branch 'master' into summap-check
2021-01-05 04:07:06 +03:00
Alexey Milovidov
f5c81a5c72
Merge branch 'master' into uuid-fuzz
2021-01-05 02:51:36 +03:00
Alexey Milovidov
5358890039
Remove bad code in HashJoin
2021-01-05 02:49:31 +03:00
alexey-milovidov
ca56f83d81
Merge pull request #16366 from ClickHouse/harmful
...
Add "harmful" library
2021-01-05 01:59:54 +03:00