Alexey Milovidov
ffa5bbd5fd
Add SYSTEM SUSPEND command #15979
2021-01-07 22:19:33 +03:00
bharatnc
24d67082a9
few more changes and simplification to integration test
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
f6d33c49bb
DDLWorkerQueueTable - fix integration test
2021-01-07 11:10:41 -08:00
bharatnc
b008c49bd9
DDlWorkerQueueTable - add integration test
2021-01-07 11:10:40 -08:00
Alexey Milovidov
8e0c3c8a42
Merge branch 'master' into amosbird-onclusteraltersettings
2021-01-07 21:42:13 +03:00
Azat Khuzhin
798fb4e842
Smoke coverage of various fsync capabilities
2021-01-07 19:30:25 +03:00
alexey-milovidov
a08db94343
Revert "Add metrics for part number in MergeTree in ClickHouse"
2021-01-07 16:40:52 +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
0f28473ec1
Merge pull request #18808 from ClickHouse/lld-build-id
...
Generate build id when ClickHouse is linked with lld
2021-01-07 15:26:26 +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
65b4008d1f
Update 01600_count_of_parts_metrics.sh
2021-01-07 06:36:00 +03:00
Amos Bird
63f0348291
Fix test
2021-01-07 11:31:23 +08:00
Alexey Milovidov
6f75901ffb
Update test
2021-01-07 04:09:18 +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
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
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
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
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
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
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
d68fdd8798
Update 01640_marks_corruption_regression.sql
2021-01-06 02:05:02 +03:00
Ivan Lezhankin
077ba6a333
Merge remote-tracking branch 'upstream/master' into antlr-test
2021-01-06 00:10:21 +03:00
Denis Zhuravlev
d23409da50
more tests for simple aggregate functions in summingMT aggregatingMT
2021-01-05 16:25:35 -04:00
Alexey Milovidov
f8313a33aa
Add test for some possible ambiguities in syntax
2021-01-05 23:10:10 +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
66550d36a3
Merge pull request #18757 from ClickHouse/testflows-disable-flaky-test
...
Mark some TestFlows as flaky
2021-01-05 20:00:03 +03:00
alexey-milovidov
2d1afa5dad
Merge pull request #18753 from ClickHouse/null-fuzz
...
Add a test from #15641
2021-01-05 19:58:57 +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
Azat Khuzhin
6c50f537a0
Add a regression test for marks corruption
...
In #17120 (that was reverted in #17918 already) marks adjustemnt was
introduced, but it may lead to corruption of marks files, that may cause
two things:
1) Incorrect marks files, which lead to reading more rows than there are
(can be reproduced with `max_threads`>1 or/and `PREWHERE`, and
`optimize_move_to_prewhere`)
2) Can't adjust last granule because it has X rows, but try to subtract Y
rows (#9260 )
And 1) is pretty hard to diagnosis, since it does not throw any error,
it just may return wrong result.
Fortunately both problems can be fixed with `OPTIMIZE TABLE ... [ FINAL]`.
Cc: @alesapin
Refs: #17943
Refs: #18223
2021-01-05 15:41:54 +03:00
spongedc
99335563d1
[For #18707 ] MySQL compatibility: support DIV and MOD operators
2021-01-05 13:03:19 +08:00
Alexey Milovidov
38b3d28443
Mark another flaky test
2021-01-05 06:26:53 +03:00
Alexey Milovidov
0b65605c34
Mark some TestFlows as flaky
2021-01-05 05:30:24 +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
ab6798addd
One more test
2021-01-05 04:03:38 +03:00
Alexey Milovidov
c2c1d97da2
Arcadia does not support distributed queries
2021-01-05 03:59:09 +03:00
Alexey Milovidov
f6dff13db8
Add a test for #14974
2021-01-05 03:56:56 +03:00
Alexey Milovidov
21467cf97a
Added a test from #15641
2021-01-05 03:44:14 +03:00
Alexey Milovidov
06405531a1
Update tests
2021-01-05 02:58:16 +03:00
Alexey Milovidov
3bbdacc66b
Update test
2021-01-05 01:35:54 +03:00
Alexey Milovidov
039edbb724
Don't allow conversion between UUID and numeric types
2021-01-05 01:33:59 +03:00
Alexey Milovidov
36ad289cdb
Merge branch 'master' into summap-check
2021-01-04 21:15:37 +03:00
Alexey Milovidov
21cb0f21ad
Moved "max_result_rows" test to bugs
2021-01-04 17:52:23 +03:00
Alexey Milovidov
c07bff15aa
Merge branch 'master' into summap-check
2021-01-04 17:11:48 +03:00
alexey-milovidov
750a391716
Merge pull request #18708 from ClickHouse/limit-fuzz
...
Added a test for #13477
2021-01-04 16:45:36 +03:00
alexey-milovidov
c0a1d6b9b0
Merge pull request #18704 from ClickHouse/enable-more-tests
...
Enable more tests and see what will happen
2021-01-04 16:42: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
alexey-milovidov
5332b0327c
Merge pull request #18702 from ClickHouse/fix-fuzz-test-msan
...
Add a test for already fixed issue
2021-01-04 16:35:41 +03:00
zhang2014
84ddff92f2
ISSUES-7690 try fix nullable string type convert to decimal type
2021-01-04 20:40:33 +08: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
Alexey Milovidov
17ff7e3413
Added a test for #13477
2021-01-04 03:52:45 +03:00
Alexey Milovidov
22775efd52
Enable more tests and see what will happen
2021-01-04 03:29:59 +03:00
Alexey Milovidov
c7b678b752
Fix integration test
2021-01-04 02:20:12 +03:00
Alexey Milovidov
53ffaa89bf
Merge branch 'master' into 4ertus2-joins-2
2021-01-04 02:19:57 +03:00
Alexey Milovidov
0f06b9631b
Add a test for already fixed issue
2021-01-04 02:14:04 +03:00
alexey-milovidov
486418d112
Merge pull request #18688 from ClickHouse/function_byte_size
...
Merge byteSize function
2021-01-04 01:17:11 +03:00
Alexey Milovidov
45d2464e89
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2021-01-04 00:07:08 +03:00
Nikolai Kochetov
3a1ec56486
Revert "Merge pull request #18411 from ClickHouse/try-fix-max_result_rows"
...
This reverts commit 9a2b163db7
, reversing
changes made to 5e97df7c29
.
2021-01-03 21:51:57 +03:00
Amos Bird
3145ca999d
column excepts with regex
2021-01-04 00:45:27 +08:00
Alexey Milovidov
9d5b2023e8
Fix tests
2021-01-03 19:12:22 +03:00
Alexey Milovidov
e8e9d0311a
Fix shellcheck
2021-01-03 18:45:08 +03:00
Alexey Milovidov
6ab08751b4
Merge branch 'master' into fix-perf-test-2
2021-01-03 18:10:13 +03:00
Alexey Milovidov
da943ef95f
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2021-01-03 18:07:58 +03:00
Alexey Milovidov
501785c397
Merge branch 'master' into function_byte_size
2021-01-03 18:07:40 +03:00
Alexey Milovidov
25b100761f
Merge branch 'master' into function_byte_size
2021-01-03 04:36:48 +03:00
Alexey Milovidov
35255aecb3
Merge branch 'master' into fix-perf-test-2
2021-01-03 02:45:23 +03:00
Alexey Milovidov
d059c245ab
Add another test
2021-01-03 02:03:09 +03:00
Alexey Milovidov
a368a6802d
Move implementation inside out
2021-01-03 01:58:10 +03:00
Alexey Milovidov
2a6388bdf6
Update test
2021-01-03 00:32:37 +03:00
Alexey Milovidov
820af3a48d
Simplify code of function "bar"
2021-01-02 23:40:15 +03:00
Ivan Lezhankin
9e4db81f0a
More skip tests
2021-01-02 17:02:24 +03:00
Alexey Milovidov
d8f2fed96f
Add another test
2021-01-01 23:15:43 +03:00
Alexey Milovidov
1a90c569cb
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2021-01-01 21:39:08 +03:00
alexey-milovidov
19e0e1a403
Merge pull request #17646 from azat/Buffer-memory-tracking
...
Do not ignore server memory limits during Buffer flush
2021-01-01 18:58:52 +03:00
Amos Bird
6a644b2af1
Fix SimpleAggregateFunction in SummingMergeTree 2
2021-01-01 12:42:22 +08:00
Nikita Mikhaylov
4165a58ce4
Merge pull request #11617 from nikitamikhaylov/parallel-parsing-input-format
...
Parallel formatting
2020-12-31 21:22:16 +04:00
pingyu
b8b3c1f166
wip
2021-01-01 01:14:21 +08:00
Alexey Milovidov
f1e38c9e06
Merge branch 'master' into 4ertus2-joins-2
2020-12-31 17:45:27 +03:00
alexey-milovidov
c2f0451e39
Merge pull request #18362 from ClickHouse/allow_low_cardinality_key_alter
...
Add ability to change some types for primary key
2020-12-31 15:27:52 +03:00
alexey-milovidov
a2e1f21ef2
Merge pull request #18637 from amosbird/summingsimple
...
Fix SimpleAggregateFunction in SummingMergeTree
2020-12-31 15:23:26 +03:00
Nikita Mikhaylov
f27aa148e0
Merge branch 'master' into parallel-parsing-input-format
2020-12-31 06:16:43 +04:00
alexey-milovidov
8b98465f10
Merge pull request #17043 from amosbird/countoptimization
...
Devirtualize -If and vectorize count
2020-12-31 03:34:16 +03:00
Nikita Mikhaylov
99b4d2f9ba
Merge pull request #18636 from ClickHouse/revert-15316-copier-segfault
...
Revert "Add some extra tests to copier"
2020-12-31 03:43:51 +04:00
alexey-milovidov
9a2b163db7
Merge pull request #18411 from ClickHouse/try-fix-max_result_rows
...
Use Port::Data instead of Chunk in LazyOutputFormat.
2020-12-31 02:24:10 +03:00
Alexey Milovidov
e4081b6735
Fix shellcheck
2020-12-30 23:19:53 +03:00