Commit Graph

5742 Commits

Author SHA1 Message Date
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
afb4cc8d3a Merge branch 'master' of github.com:yandex/ClickHouse into kssenii-pg2ch 2021-01-07 18:40:12 +03:00
Alexey Milovidov
159891573f Merge branch 'master' into kssenii-pg2ch 2021-01-07 18:39:44 +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
feng lv
1a47cf8611 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-07 10:26:28 +00: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
alexey-milovidov
72b142a00a
Merge branch 'master' into pg2ch 2021-01-06 23:18:59 +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
feng lv
beab4f98da Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-06 06:10:09 +00: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
nautaa
ec8e3f2409 add decode numeric entities 2021-01-05 21:08:36 +08: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
feng lv
421feb8cf9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-05 07:47:11 +00:00
nautaa
2acecb010f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse 2021-01-05 14:12:36 +08:00
feng lv
3ca5cf18a4 remove throw exception
fix
2021-01-05 06:03:57 +00: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
feng lv
c70ab6a18a fix
fix
2021-01-04 15:47:04 +00:00
Alexey Milovidov
21cb0f21ad Moved "max_result_rows" test to bugs 2021-01-04 17:52:23 +03:00
feng lv
7a04724b3c add select all syntax 2021-01-04 14:23:17 +00: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
nauta
820cdf407b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse 2021-01-03 18:26:29 +08:00
feng lv
fddb71df8f fix test 2021-01-03 08:47:30 +00:00
feng lv
459abca5b5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster 2021-01-03 08:47:14 +00:00
feng lv
166674ddfa Merge branch 'insert-cluster' of github.com:ucasFL/ClickHouse into insert-cluster 2021-01-03 03:23:30 +00:00
feng lv
5953c2fcbe fix 2021-01-03 03:21:53 +00: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
sundyli
f8815f233c
Merge branch 'master' into alias_column_partition_prune 2021-01-02 11:23:55 +08:00
Alexey Milovidov
4b3ae495d6 Merge branch 'master' into CurtizJ-multiple-nested 2021-01-02 00:25:16 +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
0cb82c26a3 Skip Arcadia 2020-12-31 17:36:21 +03:00
Alexey Milovidov
3566d00c02 Merge branch 'master' into ucasFL-insert-cluster 2020-12-31 17:35:34 +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
spongedc
ae7e06752e Merge remote-tracking branch 'origin/master' into support_exists_view_v3 2020-12-31 15:50:13 +08: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
alexey-milovidov
a8f9eade19
Merge pull request #18095 from spongedu/support_show_create_view
Support show create view syntax
2020-12-30 23:15:12 +03:00
Anton Popov
27e8fc0c8d
Merge pull request #18565 from hexiaoting/dev_date
Make Date larger then 2106-02-07 overflow as 0(1970-01-01)
2020-12-30 22:53:25 +03:00
Alexey Milovidov
83cff84182 Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock 2020-12-30 22:52:12 +03:00
Alexey Milovidov
f0cd43ddaf Add two exceptions for TSan 2020-12-30 21:31:06 +03:00
Alexey Milovidov
60a318a139 Fix broken test #17902 2020-12-30 21:16:50 +03:00
Alexey Milovidov
b0a6e4e82f Fix shellcheck 2020-12-30 20:55:10 +03:00
Nikita Mikhailov
218aab1856 shellcheck 2020-12-30 18:53:33 +03:00
Nikita Mikhailov
b6a27de508 Merge branch 'parallel-parsing-input-format' of github.com:nikitamikhaylov/ClickHouse into parallel-parsing-input-format 2020-12-30 18:23:05 +03:00
Nikita Mikhailov
8e31ce4a5c Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-30 18:22:11 +03:00
Nikita Mikhailov
d4ec52f732 shellchek 2020-12-30 18:21:58 +03:00
alexey-milovidov
c281a17869
Merge pull request #18619 from azat/utils-pull
Small utils improvements (check-marks and compressor)
2020-12-30 17:45:43 +03:00
Amos Bird
ae72f96111
Fix SimpleAggregateFunction in SummingMergeTree 2020-12-30 22:38:11 +08:00
Nikita Mikhaylov
797c969c4d
Revert "Add some extra tests to copier" 2020-12-30 17:25:55 +03:00
Vitaly Baranov
a84887aff8
Merge pull request #15988 from traceon/ldap-cache-login
Allow caching of successful "bind" attempts to LDAP server for configurable period of time
2020-12-30 17:24:45 +03:00
Nikita Mikhaylov
736cc6959a
remove kafka flaky fix 2020-12-30 17:24:39 +03:00
alexey-milovidov
1bcdf37c36
Merge pull request #18614 from CurtizJ/fix-empty-parts
Fix removing of empty parts in tables with old syntax
2020-12-30 17:20:31 +03:00
alexey-milovidov
eab5598739
Merge pull request #18615 from ClickHouse/union-default-throw
Change union_default_mode to throw exception
2020-12-30 16:55:33 +03:00
Nikita Mikhailov
cc794b7a83 Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-30 16:55:15 +03:00
Alexey Milovidov
efa494b5e4 Fix too long perf test 2020-12-30 16:53:30 +03:00
Vitaly Baranov
235ea220ec SELECT count() FROM table now requires at least one column to be accessible in the table. 2020-12-30 15:00:08 +03:00
Vitaly Baranov
460006b502
Merge pull request #18232 from vitlibar/fix-access-rights-for-select-join
Fix access rights for SELECT JOIN.
2020-12-30 14:42:16 +03:00
Ivan Lezhankin
e394452d83 Skip more tests 2020-12-30 12:43:32 +03:00
Ilya Yatsishin
14a8b5e5ad
Merge pull request #18566 from qoega/codespell-changes
Fix shellcheck errors in style check
2020-12-30 08:54:29 +03:00
Nikita Mikhailov
2f04cb5ebe abort() instead of std::terminate() + cleanup 2020-12-30 08:31:45 +03:00
Nikita Mikhailov
60b4a36c4a arcadia fix + live view fix + cleanup 2020-12-30 07:50:58 +03:00
Nikita Mikhailov
107360fc77 add tests 2020-12-30 00:04:39 +03:00
Azat Khuzhin
e8aae12984 Cover clickhouse-compressor in tests 2020-12-29 23:23:04 +03:00
Nikita Mikhailov
2b90b4e01d Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-29 22:47:06 +03:00
Alexey Milovidov
d584f75cd7 Update test 2020-12-29 21:45:09 +03:00
filimonov
e81a99156f
Attempt to prevent test flap
That extra SELECT is executed synchronously, after that all further actions will have a more stable timing.
2020-12-29 18:51:00 +01:00
Anton Popov
6336fbf1df fix removing of empty parts in tables with old syntax 2020-12-29 20:16:57 +03:00
Alexander Kuzmenkov
d4e5d5fdb4
Merge pull request #18455 from ClickHouse/aku/window-prototype
[wip] some window function fixes
2020-12-29 19:23:19 +03:00
kssenii
c1eced8993 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg2ch 2020-12-29 15:09:53 +00:00
Nikita Mikhaylov
9cd1ddb38a
Merge pull request #18516 from nikitamikhaylov/hexiaoting-dev_withfill
Merging  #18188
2020-12-29 18:00:33 +03:00
Yatsishin Ilya
cb5986d426 better 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
b3723e5e56 md5sum of test query has changed 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
223f122aa3 remove duplicate comment 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
a25fa1996b fix style checks 2020-12-29 17:57:12 +03:00
tavplubix
614d29433c
Merge pull request #18553 from awesomeleo/fix-18450
MaterializedMySQL: fix 18450, DB::Exception: Unsupported type FixedString
2020-12-29 13:14:39 +03:00
alesapin
00836a7c52
Merge pull request #18518 from ClickHouse/fix_bug_with_alter_hung
Control alter sequential execution more correctly
2020-12-29 12:08:21 +03:00
hexiaoting
e6c9361559 Add a MergeTree setting: allow_floating_point_partition_key 2020-12-29 11:12:02 +08:00
spongedc
494c9ac809 Merge remote-tracking branch 'origin/master' into support_show_create_view 2020-12-29 10:20:06 +08:00
Alexander Tokmakov
ecc0339472 add test 2020-12-28 23:21:57 +03:00
pingyu
d12e29cfa9 bug fix; codes refinement 2020-12-29 01:36:19 +08:00
Ivan
35d62b73a7
Check for CLICKHOUSE_CLIENT_OPT env before setting it (#18574) 2020-12-28 18:47:44 +03:00
alexey-milovidov
48050a3ed4
Merge pull request #18524 from ClickHouse/sim-hash-fixes
Sim/Min Hash fixes
2020-12-28 18:01:12 +03:00
Ivan Lezhankin
959805b0d0 Merge remote-tracking branch 'upstream/master' into antlr-test 2020-12-28 17:59:45 +03:00
Ivan Lezhankin
8a814abfc2 Check for CLICKHOUSE_CLIENT_OPT env before setting it 2020-12-28 17:57:00 +03:00
kssenii
c5cf556aaf Fix fast test 2020-12-28 13:56:46 +00:00
alexey-milovidov
df57706f35
Merge pull request #18550 from ClickHouse/fix-delayed-source
Fix pipeline stuck after join
2020-12-28 16:45:25 +03:00
Nikita Mikhaylov
6863dbd6a8
Merge pull request #18480 from vdimir/ip-dict-key-access
IP dict key access
2020-12-28 16:15:40 +03:00
Nikita Mikhailov
c3288c3fbf Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-28 15:09:37 +03:00
alesapin
50afe27461 More stable test 2020-12-28 14:46:45 +03:00
pingyu
d81392c539 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into func_byte_size 2020-12-28 19:32:08 +08:00
pingyu
d2ce110a6d bug fix 2020-12-28 19:29:54 +08:00
hexiaoting
ccaea5fa42 Make Date > 2106-02-07 overflow as 0 2020-12-28 19:09:41 +08:00
Alexander Kuzmenkov
1c52fdb265 cleanup 2020-12-28 13:08:38 +03:00
hexiaoting
4adbdf364e Fix bug for orderby withfill with limit clause 2020-12-28 13:05:16 +03:00
Alexander Kuzmenkov
2905f70cce fix aliases in partition by/order by 2020-12-28 12:56:38 +03:00
alexey-milovidov
bf3187010b
Merge pull request #18145 from myrrc/improvement/multiply-decimals-and-floats
Allow multiplication of Decimal and Float
2020-12-27 22:37:09 +03:00
kssenii
8f8920a7ee Add table cache, better drop table 2020-12-27 15:52:15 +00:00
spongedc
1f10032299 support EXISTS VIEW syntax 2020-12-27 22:14:08 +08:00
kssenii
00a37404ca Add postgresql database engine 2020-12-27 12:26:29 +00:00
kssenii
d95e8e2d74 Better 2020-12-27 12:18:59 +00:00
kssenii
375e8e9736 Add postgres dictionary source 2020-12-27 12:18:09 +00:00
kssenii
9cb2c75464 Add tests for storage 2020-12-27 12:17:56 +00:00
alesapin
436df8fe3a Check fuzzer tests 2020-12-27 14:36:08 +03:00
Nikolai Kochetov
7f1eb506ab Added test. 2020-12-27 14:28:13 +03:00
feng lv
b5b66223af Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster 2020-12-27 10:57:45 +00:00
alexey-milovidov
d84f308291
Merge pull request #18521 from ClickHouse/implement_create_or_replace
Implement [CREATE OR] REPLACE TABLE
2020-12-27 11:48:06 +03:00
pingyu
f8e55a9c9b wip #17540 2020-12-27 12:11:38 +08:00
Vitaly Baranov
9271b3d627 SELECT JOIN now requires the SELECT privilege on each of the joined tables. 2020-12-26 18:35:32 +03:00
nauta
d7f73c83da Merge branch 'master' of https://github.com/ClickHouse/ClickHouse 2020-12-26 16:07:36 +08:00
nauta
b413b450f5 add decode XML function 2020-12-26 16:00:35 +08:00
alexey-milovidov
8eb9788955
Merge pull request #18523 from CurtizJ/fix-cast-to-map
Fix cast to map from tuple of arrays with unequal sizes
2020-12-26 10:00:01 +03:00
Nikita Mikhaylov
c3ad122142
Merge pull request #18520 from nikitamikhaylov/fuzz-17876
NaN argument in function 'bar'
2020-12-26 04:32:05 +03:00
Nikita Mikhaylov
7b23b866a2
Merge pull request #18475 from nikitamikhaylov/andyyzh-bitmap64A
Merging #17858
2020-12-26 04:31:49 +03:00
Azat Khuzhin
b4c7540436 Fix 01019_Buffer_and_max_memory_usage
Before it does not check what it was intended, since it was too tricky.
2020-12-25 23:49:22 +03:00
alexey-milovidov
230f9b6ad4
Merge pull request #18449 from vladimir-golovchenko/fix-AM-abbreviation-handling-for-parseDateTimeBestEffort
Bug fix '#18402 parseDateTimeBestEffort should not ignore AM abbreviation for 12th hour'
2020-12-25 22:32:43 +03:00
alexey-milovidov
849ca482c9
Merge pull request #18458 from spongedu/support_exists_database
support EXISTS DATABASE syntax
2020-12-25 22:28:02 +03:00
Anton Popov
11283e3d81 Merge remote-tracking branch 'upstream/master' into HEAD 2020-12-25 21:25:59 +03:00
Nikolai Kochetov
2cfbe056a0 Update test. 2020-12-25 21:08:45 +03:00
Nikolai Kochetov
2f9c5cf745 Update test. 2020-12-25 21:07:03 +03:00
Nikolai Kochetov
feadf02e20 Update test. 2020-12-25 20:14:10 +03:00
Anton Popov
721bb60edd fix cast to map from tuple of arrays with unequal sizes 2020-12-25 20:12:47 +03:00
myrrc
80b96f2c23 Merge remote-tracking branch 'upstream/master' into improvement/multiply-decimals-and-floats 2020-12-25 19:34:26 +03:00
Alexander Tokmakov
42911e2438 implement CREATE OR REPLACE TABLE 2020-12-25 19:32:09 +03:00
Nikita Mikhailov
2239f9b0c6 done 2020-12-25 18:54:38 +03:00
Nikita Mikhailov
cdc1f068d2 skip arcadia 2020-12-25 17:13:26 +03:00
Ivan
ff80c1f3ce
Move --antlr arg outside of parser group 2020-12-25 15:59:02 +03:00
alexey-milovidov
aba7b5f60d
Merge pull request #18493 from ClickHouse/fix-flaky-test-buffer
Fix flaky test 01584_distributed_buffer_cannot_find_column
2020-12-25 12:07:03 +03:00
Alexander Kuzmenkov
a17f0b50ad Merge remote-tracking branch 'origin/master' into tmp 2020-12-25 10:34:28 +03:00
alesapin
c9bbde649c
Merge pull request #18312 from ClickHouse/simplier_coverage
Make single image for building coverage report
2020-12-25 10:18:39 +03:00
Alexander Kuzmenkov
998bd17877 fix column name clash w/agg fns
also fix some test references influenced by the explain changes
2020-12-25 07:59:17 +03:00
Alexander Kuzmenkov
a38787553c perf test fix 2020-12-25 06:15:36 +03:00
Alexander Kuzmenkov
5bd025a180 fix DISTINCT and ORDER BY 2020-12-25 06:13:30 +03:00
hexiaoting
a47e177b3e Allow float point as partition key when attach table 2020-12-25 11:05:16 +08:00
Alexey Milovidov
a671f13595 Fix flaky test 01584_distributed_buffer_cannot_find_column 2020-12-25 04:20:09 +03:00
Nikita Mikhaylov
7d8a307bb2
Merge pull request #15316 from nikitamikhaylov/copier-segfault
Add some extra tests to copier
2020-12-25 03:08:12 +03:00
vdimir
1e3bd37380 Add option access_to_key_from_attributes to ip dictionary 2020-12-24 19:13:49 +00:00
alesapin
303c4f98cc Add ability to collect coverage from integration tests 2020-12-24 18:51:53 +03:00
Nikita Mikhaylov
6818b24fe5
Merge pull request #18381 from CurtizJ/part-types-merge
Restrict merges from wide to compact parts
2020-12-24 17:47:14 +03:00
Amos Bird
6648b89843 fix test 2020-12-24 17:43:20 +03:00
Andy Yang
ccb2fcc161 Support bitmap64 feature 2020-12-24 17:43:20 +03:00
Nikita Mikhailov
63dc8c5462 better 2020-12-24 17:24:51 +03:00
Kruglov Pavel
0529c2906a
Merge pull request #18349 from spongedu/support_is_ipv4
Support builtin function isIPv4String && isIPv6String
2020-12-24 14:52:07 +03:00
tavplubix
5fbfc1935c
Merge pull request #18445 from ClickHouse/fix_to_nullable_conversion
Try fix 'value is too short' when converting from String to Nullable(T)
2020-12-24 13:38:43 +03:00
hexiaoting
b3b08a035e Disallow floating point as partition key 2020-12-24 18:30:20 +08:00
spongedc
71ab8c18fa support EXISTS DATABASE syntax 2020-12-24 17:16:47 +08:00
alexey-milovidov
4561527d4d
Merge pull request #18404 from amosbird/fixsimplestate
-SimpleState function arg type = return type
2020-12-24 12:12:29 +03:00
Nikolai Kochetov
34cd4fea0e Fixing integrational test. 2020-12-24 12:05:14 +03:00
Alexander Kuzmenkov
912995cbae some provision for aggregate fns as window fn args
(doesn't work yet)

also a perf test w/LIMIT BY
2020-12-24 11:49:55 +03:00
feng lv
714a4f8f1c Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster 2020-12-24 07:05:07 +00:00
Alexander Kuzmenkov
8deb8e4808 Merge origin/master into tmp (using imerge) 2020-12-24 10:00:35 +03:00
Alexander Kuzmenkov
844239b1c3 tmp fixes (split me) 2020-12-24 07:03:33 +03:00
vladimir golovchenko
f39c961328 Added tests to cover cases with 12-hour clock time. 2020-12-23 18:09:40 -08:00
Alexander Kuzmenkov
e3fb30b9f7
Merge pull request #18386 from ClickHouse/aku/faster-perf
Make some perf tests faster on slower machines
2020-12-24 03:47:18 +03:00
Alexander Tokmakov
c49a6302fa fix, add test 2020-12-24 03:13:53 +03:00
alexey-milovidov
c4bbb95b0f
Merge pull request #18405 from ClickHouse/add_test_for_compact_parts
Add test for already working code
2020-12-24 01:24:09 +03:00
alesapin
f3f5466d23
Merge pull request #18306 from amosbird/restrictsettings
Extend mergetree setting alter restriction
2020-12-23 23:09:59 +03:00
Nikita Mikhailov
7ac7d991ad replace word anime with word big 2020-12-23 22:02:53 +03:00
Nikita Mikhailov
a35ef5ace3 better 2020-12-23 21:59:27 +03:00
Nikita Mikhailov
9a069b2cc0 Merge branch 'copier-segfault' of github.com:nikitamikhaylov/ClickHouse into copier-segfault 2020-12-23 21:31:18 +03:00
Vitaliy Zakaznikov
13e633c1ad Regenerating ldap/authentication/requirements/requirements.py 2020-12-23 13:17:18 -05:00
Nikita Mikhailov
bcb595e34c Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-segfault 2020-12-23 20:30:51 +03:00
Anton Popov
84ec3930ba
Merge pull request #18223 from ClickHouse/delayed_last_mark_for_wide_parts
Better adaptive granularity calculation for wide parts
2020-12-23 19:37:25 +03:00
Nikita Mikhailov
744ee23820 Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-segfault 2020-12-23 19:32:21 +03:00
Amos Bird
6fc225e676
Distributed insertion to one random shard (#18294)
* Distributed insertion to one random shard

* add some tests

* add some documentation

* Respect shards' weights

* fine locking

Co-authored-by: Ivan Lezhankin <ilezhankin@yandex-team.ru>
2020-12-23 19:04:05 +03:00
Ivan
51481c9c5f
Add ANTLR test config to another json 2020-12-23 18:25:05 +03:00
myrrc
631a2bce79 reverted the tests to initial state 2020-12-23 17:29:03 +03:00