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
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
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
alexey-milovidov
96c0fff913
Merge pull request #18703 from ClickHouse/ubsan-add-offset-to-nullptr
...
Fix UBSan report: applying non-zero offset to nullptr
2021-01-05 01:59:22 +03:00
Alexey Milovidov
039edbb724
Don't allow conversion between UUID and numeric types
2021-01-05 01:33:59 +03:00
Alexey Milovidov
858c2a474a
Do not throw from Parser
2021-01-05 00:28:57 +03:00
fastio
fc9c440d3e
Fix the unexpected behaviour of show tables when antlr parser enabled ( #18431 )
...
* Fix the unexpected behaviour of show tables when antlr parser enabled
* fix compile error
2021-01-04 23:42:57 +03:00
Alexey Milovidov
36ad289cdb
Merge branch 'master' into summap-check
2021-01-04 21:15:37 +03:00
Alexey Milovidov
12a0ef907e
Slightly better
2021-01-04 21:07:52 +03:00
Alexey Milovidov
5e75bad82a
Merge branch 'master' into ubsan-add-offset-to-nullptr
2021-01-04 21:07:26 +03:00
alexey-milovidov
a4f8a5390e
Merge pull request #18717 from sundy-li/hotfix-log
...
Fix Logger with unmatched arg size
2021-01-04 18:43:26 +03:00
Alexey Milovidov
c07bff15aa
Merge branch 'master' into summap-check
2021-01-04 17:11:48 +03:00
Alexey Milovidov
4eb0ca0655
Merge branch 'master' into harmful
2021-01-04 16:49:53 +03:00
alexey-milovidov
0b56bec69c
Merge pull request #15162 from 4ertus2/joins
...
Fix crash in not equi join on
2021-01-04 16:37:16 +03:00
sundy-li
6cc0668af4
Add one more argument
2021-01-04 16:21:04 +08:00
sundy-li
8d7fe410cd
Fix Logger with unmatched arg size
2021-01-04 16:15:13 +08:00
Nikolai Kochetov
e48ea5c5b3
Use relaxed for flag in RemoteQueryExecutorReadContext.
2021-01-04 10:59:01 +03:00
Amos Bird
a157a5b3b3
add max_partitions_to_read setting
2021-01-04 12:40:48 +08:00
Alexey Milovidov
fbed8bb426
Fix fuzz errors in sumMap
2021-01-04 04:54:00 +03:00