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
7907292bd7
Merge pull request #18764 from azat/sigdescr_np-over-sys_siglist
...
Use sigdescr_np() over sys_siglist (fixes glibc 2.32+ unbundled build)
2021-01-07 00:11:42 +03:00
alexey-milovidov
7e1d5b0387
Update FunctionsStringHash.h
2021-01-07 00:10:54 +03:00
alexey-milovidov
f35edecebb
Update ontime.md
2021-01-06 23:27:00 +03:00
alexey-milovidov
af0a359cea
Update metrica.md
2021-01-06 22:53:23 +03:00
alexey-milovidov
058cdcc62c
Update brown-benchmark.md
2021-01-06 22:50:08 +03:00
alexey-milovidov
8e0cbea738
Update brown-benchmark.md
2021-01-06 22:49:48 +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
alexey-milovidov
f84426ebef
Merge pull request #18771 from den-crane/tests/simple_aggregate_funcs2
...
more tests for simple aggregate functions in summingMT aggregatingMT try2
2021-01-06 21:26:06 +03:00
alexey-milovidov
49f70b3b5f
Merge pull request #18763 from azat/marks-corruption-test
...
Add a regression test for marks corruption
2021-01-06 21:20:55 +03:00
alexey-milovidov
63761f72e7
Merge pull request #18779 from zhangjmruc/master
...
#18701 : SQL compatibility: provide POSITION(needle IN haystack) syntax
2021-01-06 21:07:15 +03:00
Alexey Milovidov
8ab40d2747
Newline
2021-01-06 21:06:34 +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
d76c05e134
Merge pull request #18792 from Bertrand31/patch-1
...
Fix typo in array functions' documentation
2021-01-06 20:58:41 +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
fdff71a36f
Merge pull request #18770 from ClickHouse/fix-query-fuzzer
...
Query Fuzzer: fix some cultural issues
2021-01-06 20:02:30 +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
Bertrand Junqua
85003c8b5c
Fix typo in array functions' documentation
2021-01-06 16:36:51 +01: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
Vitaliy Zakaznikov
38bc0f8348
Updating verification cooldown performance
and valid verification cooldown value ldap unavailable
...
tests to fix fails due to timing issues caused by slow test executions.
2021-01-06 08:16:01 -05:00
Amos Bird
a32f6dcf1b
Apply alter settings on cluster to all replicas
2021-01-06 20:08:46 +08:00
weeds085490
b2e4c0ee71
refine test
2021-01-06 19:29:51 +08: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
booknouse
3f5b94fe3b
Update style.md
...
Update translation by machine, and improve document more human-readable.
2021-01-06 15:12:28 +08:00
alexey-milovidov
cb8b6ff3fa
Merge pull request #18777 from ClickHouse/fix-fuzz-llvm
...
Do not allow Fuzzer to enable LLVM
2021-01-06 07:18:36 +03:00
alexey-milovidov
6430fd3b2a
Merge pull request #18700 from azat/history-load-fix-multiline-entries
...
Bump replxx to fix loading of multi-line entries from the history
2021-01-06 05:33:51 +03:00
alexey-milovidov
8818a56b00
Merge pull request #18773 from traceon/xcode-env-var-avoid-ninja
...
Check if XCODE_IDE is true and avoid enforcing ninja in that case
2021-01-06 05:30:10 +03:00
Alexey Milovidov
4f726784c9
Fix shellcheck
2021-01-06 04:56:10 +03:00
Alexey Milovidov
b6a733c2dd
Do not allow Fuzzer to enable LLVM
2021-01-06 04:07:59 +03:00
Alexey Milovidov
aff4ba7726
Slightly better
2021-01-06 04:03:07 +03:00
Alexey Milovidov
8d34f76d76
Slightly better
2021-01-06 03:58:31 +03:00
Alexey Milovidov
822682f2f8
Fix exit code
2021-01-06 03:56:51 +03: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
d77dfeaafb
Arcadia does not support distributed tables
2021-01-06 03:06:19 +03:00
Alexey Milovidov
7547aee66a
Add a test
2021-01-06 03:05:45 +03:00
Alexey Milovidov
190402b7d5
Do not insert empty blocks on sync Distributed INSERT
2021-01-06 02:54:22 +03:00
Azat Khuzhin
780b86982a
Respect memory tracker blocker level during deallocations
...
Introduced-in: #17646
2021-01-06 02:44:06 +03:00
Denis Glazachev
a3c253541b
Check if XCODE_IDE is true and avoid enforcing ninja in that case
2021-01-06 03:06:03 +04:00
alexey-milovidov
d68fdd8798
Update 01640_marks_corruption_regression.sql
2021-01-06 02:05:02 +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
Alexey Milovidov
895ec0976b
Break query fuzzer even more
2021-01-06 00:34:08 +03:00
Alexey Milovidov
7f074cb491
Remove half of strange code from query fuzzer
2021-01-06 00:20:39 +03:00
Azat Khuzhin
d7fb61dce4
Use sigdescr_np() over sys_siglist (fixes glibc 2.32+ unbundled build)
...
glibc 2.32 [1]:
- The functions sigabbrev_np and sigdescr_np have been added
- They should be used instead of sys_siglist or sys_sigabbrev and they
are both thread and async-signal safe. These functions are GNU
extensions.
[1]: https://sourceware.org/pipermail/libc-announce/2020/000029.html
2021-01-06 00:17:25 +03:00