Commit Graph

9227 Commits

Author SHA1 Message Date
kssenii
074428264f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into hdfs-idisk 2021-05-21 08:26:54 +00:00
Alexey Milovidov
28c0e85dab Add performance test 2021-05-21 09:29:56 +03:00
Yatsishin Ilya
b079ce5ee4 typo 2021-05-21 08:01:51 +03:00
Yatsishin Ilya
e9f7246d2a fixes 2021-05-21 07:59:16 +03:00
alexey-milovidov
04e3ddeffa
Merge pull request #24151 from azat/format-FROM-clause
Change FROM clause formatting (make it more human friendly)
2021-05-21 06:26:53 +03:00
alexey-milovidov
5de03390e0
Merge pull request #24285 from abyss7/issue-23901
Allow empty HTTP headers
2021-05-21 05:21:06 +03:00
Nikolai Kochetov
48ce2ce500 Fix script 2021-05-20 22:57:06 +03:00
alesapin
deb784a321 Merge branch 'master' into nvartolomei-parts-move 2021-05-20 21:24:55 +03:00
Yatsishin Ilya
1f8d43235f better 2021-05-20 21:19:45 +03:00
Nikolai Kochetov
87e73a970e Fix style 2021-05-20 21:18:44 +03:00
Nikolai Kochetov
e66e3e9271 Fix style 2021-05-20 21:11:12 +03:00
Azat Khuzhin
59d4d42b5e Mark some tests as long 2021-05-20 21:04:12 +03:00
Azat Khuzhin
8b438bcd3c Change formatting of subqueries (make it more human friendly)
Fix trailing whitespaces in FROM/IN clause with subqueries in multiline
mode, and also changes the output of the queries slightly in a more
human friendly way.

Before:

    $ clickhouse-format <<<'select * from system.one, (select * from system.one)'
    SELECT *
    FROM system.one
    ,
    (
        SELECT *
        FROM system.one
    )

After:

    $ clickhouse-format <<<'select * from system.one, (select * from system.one)'
    SELECT *
    FROM system.one,
    (
        SELECT *
        FROM system.one
    )

v2: Fix subqueries formatting in a different way
v3: Adjust *.reference in tests
v4: Fix modernize-loop-convert in ASTTablesInSelectQuery
2021-05-20 21:04:12 +03:00
alexey-milovidov
907fcf9f05
Delete macros.xml 2021-05-20 20:18:02 +03:00
MyroTk
7ed3b5f967 Removing unnecessary SSL files. 2021-05-20 19:06:27 +02:00
Nikolai Kochetov
386cbf751c Better parallelizm for fast tests. 2021-05-20 19:46:15 +03:00
Nikolai Kochetov
9d4927a5b9 Better parallelizm for fast tests. 2021-05-20 19:44:35 +03:00
MyroTk
fa1c324356 Testflows tests for Extended Precision Data Types: Int128, UInt128, Int256, UInt256, Decimal256 2021-05-20 18:42:26 +02:00
kssenii
3dee003f9b Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-20 19:20:09 +03:00
Yatsishin Ilya
d07b3763ef Merge remote-tracking branch 'origin' into integration-2 2021-05-20 19:12:20 +03:00
Yatsishin Ilya
1d35da6882 Merge remote-tracking branch 'origin' into integration-2 2021-05-20 19:12:04 +03:00
Nikolai Kochetov
fa88e8725a Better parallelizm for fast tests. 2021-05-20 19:02:46 +03:00
alesapin
333e291b5d
Merge pull request #24307 from ClickHouse/one_more_error_clickhouse_test
One more error to retry in clickhouse-test
2021-05-20 18:58:50 +03:00
tavplubix
acd952d701
Merge pull request #24309 from ClickHouse/fix_rename_matview
Fix rename MaterializedView
2021-05-20 18:20:38 +03:00
vdimir
09d63545b0
Return float in segmentLengthSum for float args, add tests 2021-05-20 17:43:24 +03:00
Alexander Kuzmenkov
b45ac02e7e adjust thresholds 2021-05-20 17:24:05 +03:00
Alexander Kuzmenkov
aeb8431004 update thresholds - 1 2021-05-20 17:14:55 +03:00
vdimir
c8cbde1b89
Merge branch 'master' into count-range 2021-05-20 16:51:51 +03:00
Ivan Lezhankin
3c6b69a430 Fix test 2021-05-20 15:12:09 +03:00
Alexander Kuzmenkov
a1749cf5c3 fix 2021-05-20 15:05:20 +03:00
Alexander Kuzmenkov
0176aa1878 Merge remote-tracking branch 'origin/master' into HEAD 2021-05-20 14:44:01 +03:00
mergify[bot]
0c006a9c96
Merge branch 'master' into one_more_error_clickhouse_test 2021-05-20 10:06:34 +00:00
tavplubix
9d728fd017
Update skip_list.json 2021-05-20 12:55:11 +03:00
Maksim Kita
25fe0e88f8 Compile expressions added partition by test 2021-05-20 11:16:15 +03:00
Maksim Kita
af78649e56
Merge pull request #24023 from kitaisreal/compile-expressions-comparison-function-constant-case-with-alias-fix
CompileExpressions comparison function constant case fix
2021-05-20 10:58:38 +03:00
Nikolai Kochetov
d09f3bcd0d
Merge pull request #24252 from ClickHouse/try-fix-group-by-shard-num-in-another-way
Try to fix GROUP BY _shard_num in a different way
2021-05-20 10:49:45 +03:00
alesapin
cf94bc9b8c
Merge pull request #24059 from ClickHouse/standalone_keeper
Standalone keeper server
2021-05-20 10:10:51 +03:00
alesapin
b9c3601083
Merge pull request #24275 from ucasFL/fix-mutation
Fix mutation fail of StorageMemory
2021-05-20 10:09:48 +03:00
mergify[bot]
29b3ed4551
Merge branch 'master' into modulo-partition-key 2021-05-20 05:45:11 +00:00
Alexey Milovidov
93585a0dd1 Fix bad test for Enum hints 2021-05-20 01:26:44 +03:00
mergify[bot]
e762039db7
Merge branch 'master' into merging-s3-backoff 2021-05-19 21:57:10 +00:00
Alexander Tokmakov
2996e7c072 fix rename matview 2021-05-19 21:53:31 +03:00
alesapin
8c4f811152 One more error to retry 2021-05-19 21:35:05 +03:00
kssenii
477214a57f Fix partitionPrunner with modulo 2021-05-19 17:36:32 +00:00
Nikolai Kochetov
e8f8b2ba18
Merge pull request #24162 from amosbird/projection-fix2
Fix add projection to replicated mergetree
2021-05-19 18:07:52 +03:00
feng lv
9de7399737 update
fix test
2021-05-19 14:51:54 +00:00
Maksim Kita
218f534a6f
Merge pull request #24100 from Enmk/fix_DateTime64_vs_DateTime_in_WHERE
Fix DateTime64 column vs DateTime value in where
2021-05-19 17:27:28 +03:00
alesapin
301dc848f5 Merge branch 'master' into nvartolomei-parts-move 2021-05-19 17:17:01 +03:00
feng lv
d92b1f0e9a Fix mutation of StorageMemory
fix

fix
2021-05-19 14:15:50 +00:00
Ivan Lezhankin
33f816d28d Allow empty HTTP headers 2021-05-19 16:20:23 +03:00
Alexander Kuzmenkov
e9b69bbd70
Merge pull request #23906 from azat/fix-distributed_group_by_no_merge
distributed_group_by_no_merge fixes
2021-05-19 16:16:08 +03:00
Maksim Kita
0ca9ba19c0 Remove performance test 2021-05-19 16:14:28 +03:00
alesapin
a6a65b4d42
Merge pull request #24249 from ClickHouse/fix_retry_in_clickhousetest
One more attempt to fix retries in clickhouse-test
2021-05-19 15:58:03 +03:00
Nikolai Kochetov
c07043fd97 Try fix more cases. 2021-05-19 15:16:18 +03:00
kssenii
ba41d01b78 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into hdfs-idisk 2021-05-19 11:47:05 +00:00
Yatsishin Ilya
8932f794aa Merge remote-tracking branch 'origin' into integration-2 2021-05-19 14:15:52 +03:00
alesapin
869aa49853 Even more lightweight test 2021-05-19 13:47:24 +03:00
Nikolai Kochetov
a954e01897
Update 01710_projection_fetch.sql 2021-05-19 13:46:09 +03:00
Nikolai Kochetov
c6800c67f5
Merge pull request #24205 from ClickHouse/integration-server-restart-increase-tiomeout
Increase timeout for server restart in integration tests.
2021-05-19 13:38:51 +03:00
Alexander Kuzmenkov
bcf85a6bc5 Merge remote-tracking branch 'origin/master' into HEAD 2021-05-19 13:25:58 +03:00
Yatsishin Ilya
1f4e28accb Merge remote-tracking branch 'origin' into integration-2 2021-05-19 13:25:30 +03:00
feng lv
5e4cde8540 fix 2021-05-19 10:24:53 +00:00
Yatsishin Ilya
7a5895815b remove tmpfs for now 2021-05-19 13:23:51 +03:00
mergify[bot]
230bec70fb
Merge branch 'master' into modulo-partition-key 2021-05-19 10:08:41 +00:00
alesapin
4d6c71801c
Merge branch 'master' into nv/parts-uuid-move-shard 2021-05-19 13:03:14 +03:00
alesapin
de4fad63e9 Merge branch 'master' into fix_retry_in_clickhousetest 2021-05-19 12:43:06 +03:00
alesapin
4c0fde9051
Merge pull request #24247 from ClickHouse/fix_some_flaky
Speedup test [test_jbod_balancer/test.py]
2021-05-19 10:55:07 +03:00
Yatsishin Ilya
76e481189b Merge remote-tracking branch 'origin/master' into integration-2 2021-05-19 08:55:12 +03:00
Yatsishin Ilya
3ec8e779ba one more timeout 2021-05-19 08:54:48 +03:00
Vitaliy Zakaznikov
03ebd18d01 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ldap-user-dn-detection 2021-05-18 14:08:28 -04:00
Kseniia Sumarokova
7729e211e9
Update skip_list.json 2021-05-18 20:52:18 +03:00
mergify[bot]
8ba2480724
Merge branch 'master' into modulo-partition-key 2021-05-18 15:32:51 +00:00
Anton Popov
662888aee0
Merge pull request #24183 from hexiaoting/dev_nested_bugfix
Fix bug for update nested columns with const condition
2021-05-18 18:26:02 +03:00
Nikolai Kochetov
57f5e33464 Try to fix GROUP BY _shard_num 2021-05-18 18:17:19 +03:00
Kseniia Sumarokova
0ab15d0bc4
Merge branch 'master' into modulo-partition-key 2021-05-18 17:45:32 +03:00
alesapin
974f362e1c
Update cluster.py 2021-05-18 17:25:46 +03:00
alesapin
b390ebb083 Merge branch 'master' into standalone_keeper 2021-05-18 16:27:28 +03:00
alesapin
21b751217d One more attempt to fix retries in clickhouse-test 2021-05-18 16:06:00 +03:00
alesapin
70e3ffc895 Speedup test 2021-05-18 14:46:45 +03:00
Yatsishin Ilya
3c804556fb fix 2021-05-18 14:02:23 +03:00
Yatsishin Ilya
c596ffdd8e Merge remote-tracking branch 'origin' into integration-2 2021-05-18 12:35:50 +03:00
alesapin
36aeb59705 Fix lazy test 2021-05-18 11:03:38 +03:00
Kruglov Pavel
cee8e280c7
Merge pull request #24193 from plugine/fix-mutation-for-storagememory
Fix wrong typo at StorageMemory
2021-05-18 10:57:52 +03:00
Nikolai Kochetov
e71387f509 Increase timeout for server restart in integration tests. 2021-05-18 10:38:32 +03:00
Nikolai Kochetov
e5aff8fe23 Increase timeout for server restart in integration tests. 2021-05-18 10:16:51 +03:00
Maksim Kita
40d8d95fd2
Merge pull request #24067 from azat/buffer-destroy-first
Flush Buffer tables before shutting down tables (within one database)
2021-05-18 09:07:28 +03:00
Maksim Kita
49d82ee408
Merge pull request #24177 from ucasFL/fix-reinterpret
fix reinterpretAsFixedString for UUID
2021-05-18 08:58:08 +03:00
Yatsishin Ilya
39f41ed9b9 less tests to commit 2021-05-18 07:47:51 +03:00
Yatsishin Ilya
83718a003d Merge remote-tracking branch 'origin/master' into integration-2 2021-05-18 07:46:07 +03:00
feng lv
dcf5d345e8 fix reinterpretAsFixedString for UUID
fix
2021-05-18 01:50:27 +00:00
Maksim Kita
8ef916a1ba Updated comment message 2021-05-17 22:08:06 +03:00
Nikolai Kochetov
118ebf0463 Increase timeout for server restart in integration tests. 2021-05-17 20:04:43 +03:00
Anton Ivashkin
6ce18124e2 Zero-copy replication - add test for TTL with large data 2021-05-17 19:27:44 +03:00
kssenii
9b8df78fdd Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-17 17:42:05 +03:00
kssenii
15d1b8f397 Add test 2021-05-17 14:29:32 +00:00
Nikolai Kochetov
098b9d04d2 Update test. 2021-05-17 16:26:12 +03:00
Anton Ivashkin
8ed4a5de62 Fix Zero Copy after merge master 2021-05-17 16:01:08 +03:00
Ilya Yatsishin
8ede5c736a
Merge pull request #23992 from MaxWk/enable-datatime64-version-column
enable DateTime64 to be version column
2021-05-17 14:34:15 +03:00
Nikolai Kochetov
d1c0ed9b4c Update test. 2021-05-17 14:19:27 +03:00
Yatsishin Ilya
40e63646ca more 2021-05-17 14:16:16 +03:00
alesapin
67d34c0136 merge with master 2021-05-17 14:13:18 +03:00
alesapin
17f229857c Merge branch 'master' into nvartolomei-parts-move 2021-05-17 13:52:48 +03:00
张中南
3d1992ea50 fix wrong typo at StorageMemory 2021-05-17 18:24:01 +08:00
avogar
66b9ba805c Remove temporary files 2021-05-17 12:57:51 +03:00
Kruglov Pavel
64e7994987
Merge pull request #23887 from kssenii/rabbitmq-fixes
RabbitMQ: allow user to define specific queue settings, its own exchange, user-managed queues; add cleanup on drop table
2021-05-17 12:01:12 +03:00
Anton Ivashkin
39a30b77fe Merge master 2021-05-17 11:47:48 +03:00
alesapin
33a6218a79 Make test more lightweight 2021-05-17 11:43:15 +03:00
hexiaoting
c5c7b2db97 Fix bug for update nested columns with const condition 2021-05-17 16:34:50 +08:00
Maksim Kita
448fe5a6f9 Updated comment message 2021-05-17 11:04:29 +03:00
alesapin
eae2df6478
Merge pull request #23997 from ClickHouse/fix_intersecting_parts
Try fix intersecting parts
2021-05-17 10:46:58 +03:00
Vladimir Chebotarev
752d0cb0b6 Fixed test. 2021-05-17 10:38:34 +03:00
Maksim Kita
3a822d2832 Added comments 2021-05-17 10:25:50 +03:00
alesapin
62004cf0d9 Merge branch 'master' into standalone_keeper 2021-05-17 10:14:58 +03:00
Yatsishin Ilya
e1176acc04 Merge remote-tracking branch 'origin' into integration-2 2021-05-17 09:53:00 +03:00
Nikolai Kochetov
98e6c27a95
Merge pull request #24168 from amosbird/projection-fix3
Fix distributed processing when using projection
2021-05-17 09:45:39 +03:00
Nikolai Kochetov
f21df0f186
Update 01710_projection_fetch.sql 2021-05-17 09:42:22 +03:00
kssenii
57da32472b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbitmq-fixes 2021-05-16 18:39:51 +00:00
Amos Bird
07b1be5a76
Fix distributed processing when using projection 2021-05-16 22:40:06 +08:00
alesapin
5116f79441 Better configs and fix test 2021-05-16 17:18:21 +03:00
alesapin
29726b5510
Merge pull request #24122 from ClickHouse/fix_table_startup
Set readonly mode if restarting thread failed to activate replica
2021-05-16 16:45:51 +03:00
Nikolai Kochetov
2057b98322
Update 01710_projection_fetch.sql 2021-05-16 13:48:07 +03:00
Azat Khuzhin
d768a2ac71 Add a test for Buffer flush before shutdown 2021-05-16 13:28:35 +03:00
kssenii
22b6d0eb25 Adjust modulo recursively 2021-05-16 09:20:59 +00:00
Amos Bird
e5cd597111
Fix add projection to replicated mergetree 2021-05-16 16:49:38 +08:00
Nikolai Kochetov
093b7e120a
Merge pull request #24062 from amosbird/projection-fix1
Fix empty key projection query analysis
2021-05-16 07:37:03 +03:00
kssenii
86de48e105 Add test to parallel tests skip list 2021-05-15 21:04:26 +00:00
kssenii
c7f51fe60e Modulo adjustment for partition key 2021-05-15 19:51:02 +00:00
Maksim Kita
196ca14c3a
Merge pull request #24150 from azat/whitespaces
Fix a few trailing whitespaces in output
2021-05-15 22:39:16 +03:00
kssenii
d303975a1c ModuloLegacy function 2021-05-15 18:45:19 +00:00
Kseniia Sumarokova
99e2f83c69
Merge pull request #23548 from ucasFL/table-comment
Implement table comments
2021-05-15 19:56:16 +03:00
Maksim Kita
3dd7401985
Merge pull request #23412 from godliness/fix-kafka-with-parquet
Fix kafka storage does not work with parquet format messages
2021-05-15 18:15:58 +03:00
RedClusive
5e725510e7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into feature-quantileBfloat16 2021-05-15 15:03:47 +00:00
alesapin
852608c937 Don't abort on Auth request 2021-05-15 18:01:00 +03:00
alesapin
83627de2b8 Merge branch 'master' into standalone_keeper 2021-05-15 17:15:06 +03:00
Azat Khuzhin
1cdeafe473 Remove superfluous trailing whitespace in Markdown format 2021-05-15 16:08:17 +03:00
alesapin
33e9f1bcf1 Better tests 2021-05-15 15:33:01 +03:00
Alexander Kuzmenkov
708f280605 fix the test 2021-05-15 09:35:00 +03:00
Maksim Kita
e785029ead
Merge pull request #24116 from hexiaoting/dev_explain
Fix bug for explain pipeline
2021-05-15 01:41:27 +03:00
Nikita Mikhaylov
703bd2aeb6 done 2021-05-15 00:25:12 +03:00
mergify[bot]
d31021ea4f
Merge branch 'master' into fix-kafka-with-parquet 2021-05-14 21:10:12 +00:00
Maksim Kita
6c334800c3 Disable broken test 2021-05-15 00:03:26 +03:00
Maksim Kita
26be39f419 CompileExpressions comparison function constant case fix 2021-05-15 00:03:26 +03:00
Kruglov Pavel
1a2e3e605a
Merge pull request #21770 from taylor12805/arrow_array
Arrow array
2021-05-14 23:44:48 +03:00
Yatsishin Ilya
cfb55c2cf6 fix 2021-05-14 19:38:40 +03:00
Alexander Tokmakov
df5f3fbc9d review suggestions 2021-05-14 19:11:40 +03:00
Amos Bird
a113acc40c
Fix empty key 2021-05-14 22:54:14 +08:00
Amos Bird
8de016d33a
Fix empty key projection query analysis 2021-05-14 22:26:26 +08:00
Yatsishin Ilya
aa4c91a2b3 disable parallel in flaky check 2021-05-14 17:15:08 +03:00
Yatsishin Ilya
f922ef4bbf Merge remote-tracking branch 'origin/fix_table_startup' into integration-2 2021-05-14 17:12:45 +03:00
Yatsishin Ilya
ad706b0de4 Merge remote-tracking branch 'origin' into integration-2 2021-05-14 16:48:44 +03:00
alesapin
de75d9c887 Revert accident changes 2021-05-14 16:44:32 +03:00
Alexander Tokmakov
41776ba5d9 fix 2021-05-14 15:55:30 +03:00
Alexander Kuzmenkov
5ed6a273d3
Merge pull request #24058 from ClickHouse/aku/uniq-two-level
lower two-level aggregation threshold for uniq test to avoid jitter
2021-05-14 15:50:48 +03:00
alesapin
123715300a Use keeper in integration tests 2021-05-14 15:30:49 +03:00
Pavel Kruglov
484cac6193 Return include_indices, fix arrays and add more tests 2021-05-14 13:50:10 +03:00
Alexander Tokmakov
970ad94851 Merge branch 'master' into fix_intersecting_parts 2021-05-14 13:17:02 +03:00
Alexander Kuzmenkov
15564f32b2 Merge remote-tracking branch 'origin/master' into HEAD 2021-05-14 13:16:31 +03:00
Alexander Kuzmenkov
474eff5f9e fix 2021-05-14 13:14:52 +03:00
alesapin
f8ddf511c5 Merge branch 'master' into standalone_keeper 2021-05-14 13:05:55 +03:00
alesapin
340cd20274 Fix flaky TTL replicated test 2021-05-14 11:55:51 +03:00
alesapin
67e4393769 If table was not active set readonly mode 2021-05-14 11:32:41 +03:00
hexiaoting
1f0990ff1d Add test case 2021-05-14 16:18:27 +08:00
Ilya Yatsishin
e345b8b868
Merge pull request #24077 from abel-cheng/feature/splitByRegexp
add function splitByRegexp
2021-05-14 10:43:08 +03:00
Ilya Yatsishin
19fb0d2033
Merge pull request #24091 from Enmk/now64_timezone_fix
Fixed now64(): added second optional argument for timezone.
2021-05-14 10:36:40 +03:00
kssenii
f33a517d33 Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-14 02:58:26 +03:00
alesapin
8205f9df56
Merge pull request #24088 from ClickHouse/add_retry_in_clickhouse_test
Also retry database creation in `clickhouse-test`
2021-05-13 23:01:48 +03:00
alexey-milovidov
f5e0189215
Merge pull request #23942 from vzakaznikov/testflows_modules_in_parallel
Enabling running of all TestFlows modules in parallel
2021-05-13 21:49:16 +03:00
Vasily Nemkov
1330ef7567 Fixed converting const DateTime to DateTime64 in WHERE 2021-05-13 20:16:00 +03:00
Pavel Kruglov
25ceb1df65 Final fixes 2021-05-13 20:00:13 +03:00
alexey-milovidov
d340e33e2b
Merge pull request #23844 from excitoon-favorites/s3morecorrectclient
Better handling of HTTP errors in `PocoHTTPClient`
2021-05-13 19:21:09 +03:00
Alexander Tokmakov
eaffe6848b fix 2021-05-13 17:24:07 +03:00
Vitaliy Zakaznikov
58685dc9fa Disabling RBAC module.
Removing debugging code.
2021-05-13 10:04:08 -04:00
Mikhail Filimonov
dd619e1e37
Try to stabilize flapping test 2021-05-13 16:03:32 +02:00
Vasily Nemkov
3119660406 Fixed now64(): added second optional argument for timezone. 2021-05-13 16:51:32 +03:00
alesapin
e7eae2688c Also retry database creation 2021-05-13 16:37:19 +03:00
mergify[bot]
1b181606e8
Merge branch 'master' into arrow_array 2021-05-13 12:23:48 +00:00
Alexander Tokmakov
e114c7eb8b fix virtual parts in REPLACE_RANGE 2021-05-13 14:29:59 +03:00
Vladimir
33c3a2711c
Fix 01866_split_by_regexp.reference 2021-05-13 13:26:31 +03:00
kssenii
7115045317 Tiny changes 2021-05-13 09:39:57 +00:00
Pavel Kruglov
ec214bb04c Try fix tests again 2021-05-13 12:23:59 +03:00
Vladimir
7c77dd1e21
Minor changes in splitByRegexp 2021-05-13 12:21:00 +03:00
Alexander Kuzmenkov
3aa919b498 fixes 2021-05-13 12:16:43 +03:00
Alexander Kuzmenkov
99ab98b64c fix the tests 2021-05-13 12:06:59 +03:00
abel-wang
452dec891d correct reference name 2021-05-13 16:54:17 +08:00
Nikolai Kochetov
636b86d13e Disable 01710_projection_fetch for database replicated. 2021-05-13 11:13:24 +03:00
alesapin
bfa23d7e02 Merge branch 'master' into standalone_keeper 2021-05-13 11:03:07 +03:00
Pavel Kruglov
42d7621aee Change tests 2021-05-13 10:20:24 +03:00
kssenii
0cb0bd48f7 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbitmq-fixes 2021-05-13 06:36:51 +00:00
Vladimir Chebotarev
1141872db2 Fix tests II. 2021-05-13 08:46:16 +03:00
Vladimir Chebotarev
83dddb33db Better tests fix. 2021-05-13 08:46:16 +03:00
Vladimir Chebotarev
8ba32fc935 Fix tests I. 2021-05-13 08:46:16 +03:00
Vitaliy Zakaznikov
7e899fff76 Comment 4 to retrigger CI/CD pipeline to check test stability. 2021-05-12 23:42:20 -04:00
abel-wang
51c1d7c7ba split into characters when split by '' & add docs 2021-05-13 11:15:38 +08:00
abel-wang
99b9fe6c33 add function splitByRegexp 2021-05-13 10:37:09 +08:00
feng lv
c6f8ab9826 fix 2021-05-13 02:05:53 +00:00
Vitaliy Zakaznikov
086a30a198 Comment 3 to retrigger CI/CD pipeline to check test stability. 2021-05-12 19:36:26 -04:00
Alexander Kuzmenkov
d7b726045a fixes 2021-05-13 01:32:53 +03:00
Pavel Kruglov
cef7c8700b Try to fix tests 2021-05-13 00:48:06 +03:00
Vitaliy Zakaznikov
889d406341 Commint to retrigger CI/CD pipeline to check test stability. 2021-05-12 15:55:29 -04:00
Pavel Kruglov
86f061976e Some fixes 2021-05-12 22:02:56 +03:00
Vitaliy Zakaznikov
e55b4117be Updating helpers/cluster.py to increase timeout and add polling
when getting control shell.
2021-05-12 12:34:28 -04:00
Pavel Kruglov
8ed6ad7c55 Refactor, support all types in array, add nested arrays support, more tests 2021-05-12 19:06:08 +03:00
kssenii
0527f0ea33 Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-12 16:54:18 +03:00
alesapin
ed89af22b2 Move jepsen tests to clickhouse-keeper 2021-05-12 16:31:29 +03:00
Alexander Kuzmenkov
f6cb9f95df lower two-level aggregation threshold for uniq test to avoid jitter 2021-05-12 16:01:48 +03:00
Vitaliy Zakaznikov
258525167f Commint to retrigger CI/CD pipeline to check test stability. 2021-05-12 08:15:09 -04:00
Anton Popov
46ce4b7a88
Merge pull request #24016 from MaxWk/order-by-with-fill-datetime64
support for order by fill with DateTime64
2021-05-12 14:44:36 +03:00
alesapin
ed3f89a7be
Merge pull request #23980 from kssenii/add-postgres-schema
Add missing table schema for postgres dictionary
2021-05-12 10:50:49 +03:00
alesapin
d5462df2f9
Merge pull request #24017 from ClickHouse/fix_bug_with_snapshots_read
Better error codes in Keeper when no leader alive
2021-05-12 10:15:58 +03:00
Yatsishin Ilya
4311495243 Merge remote-tracking branch 'origin' into integration-2 2021-05-12 10:04:10 +03:00
Yatsishin Ilya
fe0194aa4b s3 catch up 2021-05-12 10:03:53 +03:00
Maksim Kita
ffdc2b22a5
Merge pull request #24022 from amosbird/fixalias
Make `prefer_column_name_to_alias` setting more standard
2021-05-12 09:54:04 +03:00
Nikolai Kochetov
a5ad3324c9 Skip 01710_projection_fetch for parallel execution. 2021-05-12 09:42:01 +03:00
Nikolai Kochetov
a1ba67e029
Merge pull request #20202 from amosbird/projection
Projections
2021-05-12 09:38:07 +03:00
万康
aa43d3cff9 fix tests and code style 2021-05-12 11:44:45 +08:00
Vitaliy Zakaznikov
3d32363f39 Xfailing new fails in aes encryption module.
Adding basic execution of aes encryption module features in parallel.
2021-05-11 19:45:03 -04:00
alexey-milovidov
e8524d6e69
Update 01867_support_datetime64_version_column.reference 2021-05-12 01:19:51 +03:00
alexey-milovidov
d422e0199b
Merge pull request #24019 from Avogar/rename-uniq-theta
Rename uniqThetaSketch to uniqTheta
2021-05-12 01:17:18 +03:00
Vitaliy Zakaznikov
9c2b30f9fd Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into testflows_modules_in_parallel 2021-05-11 17:17:53 -04:00
Vitaliy Zakaznikov
2541f2cb25 Updating run_scenario method to not launch new parallel tests
if top test is terminating.
2021-05-11 17:17:08 -04:00
Amos Bird
62153e7030
Fix 2021-05-12 02:30:16 +08:00
alesapin
0dec8f77e4 Retry more errors in clickhouse-test 2021-05-11 20:33:44 +03:00
Maksim Kita
72d46beca0
Merge pull request #23979 from azat/dict-preallocate
Reimplement preallocate for hashed/sparse_hashed dictionaries
2021-05-11 20:15:46 +03:00
feng lv
9035e3a643 fix test and conflict 2021-05-11 16:22:24 +00:00
Pavel Kruglov
704bbe0aeb Raname uniqThetaSketch to uniqTheta 2021-05-11 17:39:35 +03:00
Yatsishin Ilya
d0a1dcd6cc better name 2021-05-11 17:27:38 +03:00
kssenii
850b6f02cb Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into hdfs-idisk 2021-05-11 14:22:30 +00:00
Nikolai Kochetov
817bc1377c Fix part check for projections. 2021-05-11 17:07:19 +03:00
kssenii
393b026f2e Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-11 16:49:23 +03:00
Nikolai Kochetov
0e469f3ebf Try fix test. 2021-05-11 16:19:51 +03:00
Yatsishin Ilya
6aa7c0fafc fixes 2021-05-11 16:13:26 +03:00
Vitaliy Zakaznikov
042625a8e2 Debug commit to run all modules 4 times to check stability. 2021-05-11 09:13:04 -04:00
万康
36fc6432ce support for order by fill with DateTime64 2021-05-11 21:03:32 +08:00
Vitaliy Zakaznikov
f964f8b9c0 Adding retries when trying to obtain a terminal to a container. 2021-05-11 08:56:14 -04:00
alesapin
46e136b5c4
Merge branch 'master' into nv/parts-uuid-move-shard 2021-05-11 15:36:40 +03:00
tavplubix
430f558234
Update 01154_move_partition.sh 2021-05-11 15:31:13 +03:00
alexey-milovidov
f6c9327fd5
Update 01867_support_datetime64_version_column.sql 2021-05-11 15:29:48 +03:00
alexey-milovidov
3bb480bd37
Update 01867_support_datetime64_version_column.sql 2021-05-11 15:29:37 +03:00
万康
04f00b2b42 add tests 2021-05-11 20:00:34 +08:00
Nikolai Kochetov
89f16014b8 fix fetch for projection. 2021-05-11 14:44:59 +03:00
Yatsishin Ilya
9d159072ef mERGe remote-tracking branch 'origin' into integration-2 2021-05-11 13:32:44 +03:00
Amos Bird
dfa5629071
Remove projection type ast 2021-05-11 18:12:29 +08:00
Amos Bird
51d685bb9c
Even more fixes 2021-05-11 18:12:29 +08:00
Amos Bird
ddd4256a15
More fixes 2021-05-11 18:12:28 +08:00
Amos Bird
718c284437
Fix more tests 2021-05-11 18:12:28 +08:00
Amos Bird
ba17acbd63
Fix tests 2021-05-11 18:12:28 +08:00
Nikolai Kochetov
b736515c66
More tests. 2021-05-11 18:12:28 +08:00
Amos Bird
a3fd0b6f2e
Fix tests 2021-05-11 18:12:28 +08:00
Amos Bird
f7f949c1f9
Fix aggregation keys order 2021-05-11 18:12:27 +08:00
Amos Bird
e1e560765c
Fix missing columns 2021-05-11 18:12:27 +08:00
Amos Bird
ebaf42a448
Reformat and fix some tests 2021-05-11 18:12:27 +08:00
Nikolai Kochetov
233e8bc927
Added test with normal projections. 2021-05-11 18:12:27 +08:00
Amos Bird
483bd165e7
Check if pipeline is simple and add more comments 2021-05-11 18:12:26 +08:00
Amos Bird
264cff6415
Projections
TODO (suggested by Nikolai)

1. Build query plan fro current query (inside storage::read) up to WithMergableState
2. Check, that plan is simple enough: Aggregating - Expression - Filter - ReadFromStorage (or simplier)
3. Check, that filter is the same as filter in projection, and also expression calculates the same aggregation keys as in projection
4. Return WithMergableState if projection applies

3 will be easier to do with ActionsDAG, cause it sees all functions, and dependencies are direct (but it is possible with ExpressionActions also)

Also need to figure out how prewhere works for projections, and
row_filter_policies.

wip
2021-05-11 18:12:23 +08:00
Kruglov Pavel
fb038c1985
Merge pull request #23894 from pingyu/datasketches-uniq-again
Add uniqThetaSketch again
2021-05-11 11:24:43 +03:00
Kruglov Pavel
49e7ed6e60
Merge pull request #23673 from amosbird/partitionvalue
Add _partition_value virtual column
2021-05-11 11:23:00 +03:00
vdimir
905e54a0af
Merge branch 'master' into create-aggregate-func-settings 2021-05-11 11:18:24 +03:00
Alexey Milovidov
b2ca5cd98b Merge branch 'master' into normalize-bigint 2021-05-11 02:05:40 +03:00
Alexey Milovidov
2fcdc85dc7 Fix integration test 2021-05-11 01:54:52 +03:00
Vitaliy Zakaznikov
e0375204f1 Removing hard coded SKIP flag and xfailed it instead. 2021-05-10 17:09:26 -04:00
Vitaliy Zakaznikov
bce80f1256 Updating docker and docker-compose versions.
Updating and enabling datetime64 extended range tests.
2021-05-10 16:59:47 -04:00
alexey-milovidov
6d0bd4f7d2
Merge pull request #23969 from ClickHouse/aku/long-trace-id
support longer query ids in trace log for perf tests
2021-05-10 23:35:40 +03:00
Maksim Kita
4a22924ed5
Merge pull request #23946 from FArthur-cmd/8912-fix-dict-http-source
Add support for HTTP compression in dictionary source.
2021-05-10 22:52:07 +03:00
tavplubix
547e1f5a23
Update 01154_move_partition.sh 2021-05-10 22:31:13 +03:00
Vitaliy Zakaznikov
d4cead19f4 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into testflows_modules_in_parallel 2021-05-10 14:12:00 -04:00
Vitaliy Zakaznikov
c0a4770ee7 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into testflows_modules_in_parallel 2021-05-10 14:11:48 -04:00
alexey-milovidov
066acc71b6
Merge pull request #8482 from ClickHouse/enable-compile-expressions
Enable "compile_expressions" by default
2021-05-10 21:09:18 +03:00
Alexander Tokmakov
eef899ae63 better code, add test 2021-05-10 21:03:37 +03:00
alexey-milovidov
0400070924
Merge pull request #23822 from excitoon-favorites/equalsignins3path
Better handling of URI's in `PocoHTTPClient`
2021-05-10 20:25:18 +03:00
alexey-milovidov
ab33b80edc
Merge pull request #23962 from azat/external-group-by-overflow-row-fix
Fix SIGSEGV for external GROUP BY and overflow row
2021-05-10 20:02:05 +03:00
vdimir
cb89a2be97
StorageJoin clashing column name with JOIN ON 2021-05-10 17:56:12 +03:00
vdimir
f03f591e55
Upd comments for StoreageJoin 2021-05-10 17:54:32 +03:00
Alexey Milovidov
db4447d819 Fix integration test 2021-05-10 17:45:37 +03:00
vdimir
bd90b52f8e
Merge branch 'master' into issue-20309 2021-05-10 16:28:18 +03:00
Vitaliy Zakaznikov
1a83604d23 Fixing issue with getting node service docker container id. 2021-05-10 09:26:24 -04:00
Azat Khuzhin
808d1a0215 Reimplement preallocate for hashed/sparse_hashed dictionaries
It was initially implemented in #15454, but was reverted in #21948 (due
to higher memory usage).

This implementation differs from the initial, since now there is
separate attribute to enable preallocation, before it was done
automatically, but this has problems with duplicates in the source.

Plus this implementation does not uses dynamic_cast, instead it extends
IDictionarySource interface.
2021-05-10 07:41:48 +03:00
Alexander Kuzmenkov
e7225b8bee fix the tests 2021-05-10 07:18:21 +03:00
Maksim Kita
742434a0cd
Merge pull request #23903 from azat/fix-flaky-tests-21.6
Fix test_insert_into_distributed flaps
2021-05-10 00:44:46 +03:00
Alexey Milovidov
49e4a43300 Fix double whitespace in integration tests 2021-05-09 23:16:57 +03:00
FArthur-cmd
fc104f0d0d improving test to cover updates 2021-05-09 23:04:06 +03:00
FArthur-cmd
6363a5dd96 use path to define compression type 2021-05-09 21:58:08 +03:00
Vitaliy Zakaznikov
06c60158b8 Increasing timeouts. 2021-05-09 12:34:56 -04:00
Alexey Milovidov
9753ddc8a0 Merge branch 'master' of github.com:yandex/ClickHouse into normalize-bigint 2021-05-09 18:54:29 +03:00
kssenii
d6582f5fe5 Table schema for dict 2021-05-09 15:42:54 +00:00
alexey-milovidov
4ada91574b
Merge branch 'master' into fixing_testflows_window_function_distributed_tests 2021-05-09 18:29:33 +03:00
FArthur-cmd
cc583fde4f tests reference 2021-05-09 15:54:01 +03:00
FArthur-cmd
bd519075b7 adding checking url in HTTPSource 2021-05-09 14:27:11 +03:00
Maksim Kita
e517436ba4
Merge pull request #23961 from kitaisreal/array-difference-decimal-math-overflow
Function arrayDifference decimal math overflow
2021-05-09 14:04:35 +03:00
Vitaliy Zakaznikov
c5948c3ba7 Updating timeouts in LDAP tests. 2021-05-08 20:33:22 -04:00
alexey-milovidov
a34c927fb2
Merge branch 'master' into tests_dt64_ext 2021-05-08 23:29:18 +03:00
Alexey Milovidov
67200d5a96 Split test (it is too large) 2021-05-08 23:15:54 +03:00
Vitaliy Zakaznikov
b85205aa30 Enabling testflows window function tests. 2021-05-08 15:22:03 -04:00
Vitaliy Zakaznikov
b303ebc7e3 Fixing window functions distributed tests by moving to using deterministic sharding key. 2021-05-08 15:06:31 -04:00
Vitaliy Zakaznikov
f886e2cebb Removing rand() as a sharding key to avoid instability in window function tests and
instead moved to using deterministic sharding key.
2021-05-08 15:00:54 -04:00
Maksim Kita
290e1ec307 Functional stateless tests fix numbers 2021-05-08 21:13:27 +03:00
Maksim Kita
2a630b68a4 Fixed FunctionComparison with special edge case 2021-05-08 21:04:21 +03:00
Vitaliy Zakaznikov
521b61741b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into testflows_modules_in_parallel 2021-05-08 14:01:28 -04:00
Azat Khuzhin
f1aebbe927 Check that totals correctly calculated in 01865_aggregator_overflow_row
Change aggregation function to uniqCombined() to check this.
2021-05-08 20:43:01 +03:00
Maksim Kita
0a2ea38cc9
Merge pull request #23916 from azat/dict-found_rate
Measure found rate for dictionaries
2021-05-08 19:23:52 +03:00
Alexander Kuzmenkov
308c4657ce support longer query ids in trace log for perf tests 2021-05-08 18:20:42 +03:00
kssenii
266567e04c Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-08 17:49:05 +03:00
Azat Khuzhin
4cecc238d6 Fix SIGSEGV for external GROUP BY and overflow row
Overflow row is used for GROUP BY if all of the above is true:
- WITH TOTALS is requested
- max_rows_to_group_by > 0
- group_by_overflow_mode = any
- totals_mode != after_having_exclusive

And in case of overflow row and external GROUP BY, once the temporary
file dumps to disk it resets without_key data variant to nullptr, so any
subsequent dump to disk will cause SIGSEGV.

Fix this, by recreating without_key data variant after dumping to disk,
instead of reseting to nullptr.

And also add sanity check (LOGICAL_ERROR) to make error more
deterministic in case of such error.

Found with fuzzer [1].

  [1]: https://clickhouse-test-reports.s3.yandex.net/23929/e7027e052998540ee660d186727e20f9555b729d/fuzzer_ubsan/report.html#fail1
2021-05-08 17:48:24 +03:00
Maksim Kita
57d5f55d7f Added jit if test 2021-05-08 17:39:35 +03:00
Azat Khuzhin
bdb5dad3a3 Cover system.dictionaries.found_count
v2: fix for ANTRL
v3: add all dictionaries layouts
2021-05-08 17:09:01 +03:00
Maksim Kita
108c2022d9 Function arrayDifference decimal math overflow 2021-05-08 17:01:30 +03:00
Alexey Milovidov
47a4c101b9 Merge branch 'master' into normalize-bigint 2021-05-08 16:41:15 +03:00
Alexey Milovidov
b64f5b0419 Disable unreliable TestFlows 2021-05-08 16:40:54 +03:00
tavplubix
f8c7725ef5
Merge pull request #23742 from ClickHouse/update_metadata_on_replica_recovery
Update metadata on replica recovery
2021-05-08 16:34:03 +03:00
Maksim Kita
80dbb7ca4f
Merge pull request #23948 from azat/dict-range-min-max-check
Check MIN/MAX attributes in the list of dictionary attributes
2021-05-08 16:07:26 +03:00
FArthur-cmd
acb09f01d4 fixing details in code style and moving tests 2021-05-08 12:46:50 +03:00
Maksim Kita
b617c57ce8
Merge pull request #23929 from azat/dict-cache-source-dups-fix
Fix keys metrics accounting for CACHE() dictionary with duplicates in the source
2021-05-08 11:56:20 +03:00
FArthur-cmd
c6c80085b8 solving problem with same test naming 2021-05-08 10:15:55 +03:00
FArthur-cmd
13a6e03849 solving style-check problems 2021-05-08 10:15:14 +03:00
Azat Khuzhin
8e9655d513 Check MIN/MAX attributes in the list of dictionary attributes
This way there will be proper exception instead of std::out_of_range
2021-05-08 08:59:47 +03:00
Alexey Milovidov
dd4e002b5c Adjust a test after relaxed overflow checks 2021-05-08 03:38:56 +03:00
Alexey Milovidov
53637d7be0 Adjust a test after relaxed overflow checks 2021-05-08 03:38:15 +03:00
Alexey Milovidov
89d56f1668 Fix bad test 2021-05-08 03:36:28 +03:00
Alexey Milovidov
1f69f8c475 Make test for Decimal correct 2021-05-08 03:33:01 +03:00
Alexey Milovidov
e8c29bf15f Adjust test because rounding in conversion of Float to Decimal has changed 2021-05-08 03:27:23 +03:00
Alexey Milovidov
5f3377cb84 Adapt test after some overflow checks were removed 2021-05-08 03:24:56 +03:00
Alexey Milovidov
059bdd89dc Adapt test after some overflow checks were removed 2021-05-08 03:22:34 +03:00
kssenii
c3eab60b8b Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-08 02:40:17 +03:00
Vitaliy Zakaznikov
945ff2c338 Fixing styling errors. 2021-05-07 19:28:20 -04:00
FArthur-cmd
4ea9851e99 fixing dictionary http source by adding wrapper 2021-05-08 02:20:30 +03:00
Alexey Milovidov
e49b44a0fd Update generateRandom tests 2021-05-08 01:09:51 +03:00
Azat Khuzhin
c1b213b96e Fix 01863_dictionary_cache_duplicates under ANTLR parser
By do not start name of table/dict from number.
2021-05-08 00:59:55 +03:00
Vitaliy Zakaznikov
1dd5e7d986 Fixing intro to window functions SRS. 2021-05-07 17:45:08 -04:00
Kseniia Sumarokova
e6ac136c32
Merge pull request #23909 from kssenii/postgres-fixes
Fix postgres connections issue
2021-05-08 00:07:21 +03:00
Vladimir Chebotarev
a39314949e
Added solution for host network mode in Ubuntu 20.10+. 2021-05-07 23:36:15 +03:00
Vitaliy Zakaznikov
4b87ae684c Adding 'clean' script to clean up _instances folders.
Updating RBAC to run on the latest master.
Fixing ldap SRS reference issue.
2021-05-07 15:40:58 -04:00
Vitaliy Zakaznikov
04a9dbeb2b Fixing SRS reference and updating requirements. 2021-05-07 15:37:29 -04:00
Alexey Milovidov
c404e6db2f Merge branch 'master' of github.com:yandex/ClickHouse into normalize-bigint 2021-05-07 18:25:12 +03:00
Anton Popov
01e99ab72e
Merge pull request #23871 from CurtizJ/cast-operator
Add postgres-like cast operator
2021-05-07 16:29:22 +03:00
Anton Popov
576728829d fix perf test 2021-05-07 16:23:46 +03:00
Vitaliy Zakaznikov
0b95bfb38e Adding support to run modules in parallel.
Adding fixes to ldap and rbac tests.
Adding user_dn_detection tests in LDAP role mapping.
2021-05-07 09:14:40 -04:00
alexey-milovidov
fd56e0a984
Merge pull request #23919 from ucasFL/hint-enum
Add hints for enum names
2021-05-07 16:12:16 +03:00
kssenii
8662078b35 Review fixes 2021-05-07 09:55:18 +00:00
alexey-milovidov
617e71b3f2
Merge pull request #23704 from vzakaznikov/testflows_window_functions_tests
TestFlows window functions tests
2021-05-07 03:57:05 +03:00
Anton Popov
efd64c6d57 add test to skip list 2021-05-07 02:52:51 +03:00
Alexey Milovidov
ef280a2698 Update test 2021-05-07 01:47:20 +03:00
Vitaliy Zakaznikov
f067237fdd Fixing range frame tests for distributed tables. 2021-05-06 18:16:24 -04:00
Anton Popov
a8259a6158 fix perf test 2021-05-06 21:26:55 +03:00
Anton Popov
e51cd90c6f better cast operator 2021-05-06 21:21:10 +03:00
Azat Khuzhin
e7027e0529 Fix keys metrics accounting for CACHE() dictionary with duplicates in the source 2021-05-06 21:03:20 +03:00
feng lv
59f5f2d03c Add hints for enum names
add test
2021-05-06 14:22:54 +00:00
Maksim Kita
a979a86930
Merge pull request #23824 from kitaisreal/hashed-dictionary-complex-key-update-field-initial-load-fix
HashedDictionary complex key update field initial load fix
2021-05-06 17:12:04 +03:00
fibersel
cb53bbb7b0 add experimental codecs flag, add integration test for experimental codecs 2021-05-06 14:57:22 +03:00
Vladimir Chebotarev
524113f497 Fixed bug with S3 URLs containing + symbol, data with such keys could not be read previously. 2021-05-06 11:28:55 +03:00
vdimir
1e4fda08e2
Allow JOIN ON with Join engine 2021-05-06 09:08:41 +03:00
vdimir
abdb731ce2
Merge branch 'master' into issue-20309 2021-05-06 09:07:51 +03:00