Commit Graph

15520 Commits

Author SHA1 Message Date
Amos Bird
1ab773cc90
Fix aggregation_in_order with normal projection 2022-02-06 16:46:12 +08:00
Amos Bird
82f31e1abb
Fix tests when projection is enabled
Avoid using count() in quota related tests

count() can subject to many optimization techniques, which is unstable
for testing quota usage.
2022-02-06 16:46:10 +08:00
Amos Bird
7674bc986e
Disable projection when there is JOIN or SAMPLE 2022-02-06 16:46:09 +08:00
taiyang-li
b9f8fe922d add fasttest 2022-02-06 09:34:12 +08:00
Alexey Milovidov
978461fb9a Add a test 2022-02-06 04:31:28 +03:00
taiyang-li
d5431b3015 fix fast test 2022-02-06 09:15:36 +08:00
Maksim Kita
613c9fa3c2
Merge pull request #34339 from kitaisreal/map-populate-series-refactoring
Function mapPopulateSeries added additional performance test
2022-02-06 01:19:32 +01:00
Vitaly Baranov
5dd49a44e6 Add test for propagating OpenTelemetry context via gRPC protocol. 2022-02-06 02:09:56 +07:00
Mikhail f. Shiryaev
f2725b1b22
Fix wrong OK_SKIP labels 2022-02-05 18:26:43 +01:00
Maksim Kita
35235d2d7f Added additional performance test 2022-02-05 16:11:36 +00:00
Maksim Kita
eff16baaf3
Merge pull request #34318 from kitaisreal/map-populate-series-refactoring
Function mapPopulateSeries refactoring
2022-02-05 12:51:02 +01:00
taiyang-li
b9c42effb4 change as requested 2022-02-05 19:30:40 +08:00
Maksim Kita
bc6328e573 Fixed tests 2022-02-04 20:56:49 +00:00
Maksim Kita
6a3aa1b2b9 Fixed tests 2022-02-04 19:52:18 +00:00
Maksim Kita
7a6f282765 Fixed tests 2022-02-04 19:52:18 +00:00
Maksim Kita
24c3fe2d64 Fixed tests 2022-02-04 19:52:18 +00:00
Maksim Kita
e626b7b2d3 Fixed tests 2022-02-04 19:52:18 +00:00
Maksim Kita
8094582e5f Fixed tests 2022-02-04 19:52:18 +00:00
Maksim Kita
1cd1fb9658 Fixed tests 2022-02-04 19:52:18 +00:00
Maksim Kita
f301e50b23 Fixed tests 2022-02-04 19:52:18 +00:00
Maksim Kita
4c9ba1dfd7 Fixed tests 2022-02-04 19:52:18 +00:00
alesapin
c028269e6f Merge branch 'master' into revert-34211-revert-34153-add_func_tests_over_s3 2022-02-04 18:02:25 +03:00
Maksim Kita
6e789f98ea Added performance tests 2022-02-04 14:58:55 +00:00
Maksim Kita
5b2bb62085 Added tests 2022-02-04 14:55:09 +00:00
tavplubix
22de534fdc
Merge pull request #34297 from ClickHouse/fix_restarting_thread
Try to fix race between pullLogsToQueue and RestartingThread
2022-02-04 17:30:17 +03:00
alesapin
21203de56b Disable two more tests 2022-02-04 16:32:33 +03:00
alesapin
1582c4bf24 Fix mutaion status for retryable errors 2022-02-04 16:27:59 +03:00
cmsxbc
9f9fce07e2 Merge branch 'master' into addressToLineWithInlines 2022-02-04 20:43:00 +08:00
Maksim Kita
629c8ae915
Merge pull request #34284 from CurtizJ/async-insert-in-client
Minor fixes for #34267
2022-02-04 13:13:47 +01:00
alesapin
25c0b07e68 Disable some tests 2022-02-04 14:31:58 +03:00
alesapin
875e5413ad Revert "Merge pull request #34219 from ClickHouse/revert-34212-revert-33291-add-pool-to-s3-write-buffer"
This reverts commit b92efed350, reversing
changes made to ecce006cb2.
2022-02-04 14:30:33 +03:00
alesapin
2ed45b2a98 Merge branch 'master' into revert-34211-revert-34153-add_func_tests_over_s3 2022-02-04 11:23:46 +03:00
Nikolai Kochetov
cf8c76f859
Merge pull request #33260 from achimbab/ttest_confidence_intervals
Add confidence intervals to ttests
2022-02-04 11:02:47 +03:00
Nikolai Kochetov
b92efed350
Merge pull request #34219 from ClickHouse/revert-34212-revert-33291-add-pool-to-s3-write-buffer
Revert "Revert "Add pool to WriteBufferFromS3""
2022-02-04 11:00:29 +03:00
alesapin
ecce006cb2
Merge pull request #34289 from ClickHouse/style-check-verbosity
Add verbosity to stylecheck
2022-02-04 10:22:45 +03:00
alexey-milovidov
665fdc9187
Merge pull request #31257 from FArthur-cmd/merge_15765
Merge #15765
2022-02-04 00:39:57 +03:00
Alexander Tokmakov
897e94c16c make restarting thread less bad 2022-02-03 23:29:24 +03:00
Maksim Kita
a01a74e415
Merge pull request #34287 from danlark1/master
Optimize quantilesExact{Low,High} to use nth_element instead of sort
2022-02-03 18:51:42 +01:00
Maksim Kita
85b9f0aa56
Merge pull request #34282 from kitaisreal/fractional-progress-bar-fix-test
Fix fractional_progress_bar test
2022-02-03 18:36:52 +01:00
Mikhail f. Shiryaev
37179bbc9c
Add verbosity to stylecheck 2022-02-03 17:50:35 +01:00
Maksim Kita
e57320a70a Fixed tests 2022-02-03 16:10:52 +00:00
Anton Popov
9b844c6b42
Merge pull request #32748 from CurtizJ/read-in-order-fixed-prefix
Support `optimize_read_in_order` if prefix of sorting key is already sorted
2022-02-03 18:17:08 +03:00
mergify[bot]
8d3c7cbd3b
Merge branch 'master' into master 2022-02-03 13:43:10 +00:00
alesapin
2a9bc7cba8 Merge branch 'master' into revert-34211-revert-34153-add_func_tests_over_s3 2022-02-03 16:20:06 +03:00
Mikhail f. Shiryaev
8243823d74
Mark Run Check as success for some cases 2022-02-03 13:32:22 +01:00
Danila Kutenin
c90b1f7794 Optimize quantilesExact{Low,High} to use nth_element instead of sort 2022-02-03 12:24:33 +00:00
Anton Popov
0755cfa584 minor fixes 2022-02-03 15:04:13 +03:00
Maksim Kita
d0bfffa6f2 Fix fractional_progress_bar test 2022-02-03 11:05:18 +00:00
mergify[bot]
587a090ab4
Merge branch 'master' into ttest_confidence_intervals 2022-02-03 10:36:31 +00:00
Maksim Kita
f4423937bd
Merge pull request #34275 from ClickHouse/fix-progress-bar
Fix progress bar width
2022-02-03 11:21:08 +01:00
Nikolai Kochetov
9face9bcdd
Merge pull request #34274 from ClickHouse/shebang-test
Add a test for shebang
2022-02-03 13:20:37 +03:00
alexey-milovidov
14811a357e
Merge pull request #34263 from azat/interserver-mode-fix
Fix current_user/current_address for interserver mode
2022-02-03 05:28:56 +03:00
Alexey Milovidov
6d470319ae Add a test 2022-02-03 05:26:00 +03:00
Alexey Milovidov
0131280596 Fix test 2022-02-03 05:16:13 +03:00
alexey-milovidov
a6d1fcadcb
Merge pull request #34267 from CurtizJ/async-insert-in-client
Support async inserts in clickhouse-client for queries with inlined data
2022-02-03 05:14:47 +03:00
mergify[bot]
150d7ba8b5
Merge branch 'master' into mv_fixes 2022-02-03 00:41:52 +00:00
Alexey Milovidov
431611d205 Add a test for shebang 2022-02-03 03:34:00 +03:00
Maksim Kita
57d16bae04
Merge pull request #34243 from azat/use_skip_indexes_if_final
Disable data skipping indexes by default for queries with FINAL
2022-02-02 23:06:05 +01:00
Maksim Kita
02c6cfba6a
Merge pull request #34225 from vitlibar/fix-checking-grants-for-show-grants
Fix checking grants for SHOW GRANTS
2022-02-02 22:51:51 +01:00
Yatsishin Ilya
cce0452d19 add more tests, fix style, fix MATERIALIZED VIEW POPULATE without ENGINE 2022-02-02 18:07:03 +00:00
Anton Popov
5bb1b3ce77 support async inserts in clickhouse-client for queries with inlined data 2022-02-02 20:59:37 +03:00
alesapin
e324529f17 S3 all tests 2022-02-02 20:48:36 +03:00
alesapin
80800e051e Merge branch 'master' into revert-34211-revert-34153-add_func_tests_over_s3 2022-02-02 19:42:04 +03:00
Nikolai Kochetov
ea044fc6b2 Merge branch 'master' into revert-34212-revert-33291-add-pool-to-s3-write-buffer 2022-02-02 19:40:41 +03:00
alesapin
b9c118524f Fix race condition on hardlink/erase/read metadata 2022-02-02 19:40:21 +03:00
Azat Khuzhin
5472aef084 Fix current_user/current_address for interserver mode
Before this patch current_user/current_address will be preserved from
the previous query.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-02 17:44:19 +03:00
Nikolay Degterinsky
29c15f8c65
Merge pull request #33723 from FrankChen021/trace_id_order
Parse and store opentelemetry trace-id in big-endian order
2022-02-02 14:59:46 +03:00
tavplubix
7304fd654a
Merge pull request #34224 from CurtizJ/fix-query-metric
Fix metric `Query`
2022-02-02 13:39:07 +03:00
Azat Khuzhin
1d19851590 Disable data skipping indexes by default for queries with FINAL
This patch adds use_skip_indexes_if_final setting, that is OFF by
default. Since skipping data for queries with FINAL may produce
incorrect result.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-02 13:31:50 +03:00
Mikhail f. Shiryaev
75adf5d12d
Merge pull request #33948 from qoega/no-clickhouse-test-deb-in-stateless
Do not use clickhouse-test.deb in stateless CI checks
2022-02-02 10:23:33 +01:00
achimbab
954a778a14
Merge branch 'ClickHouse:master' into ttest_confidence_intervals 2022-02-02 11:02:48 +09:00
Nikolai Kochetov
9ea4f8d955 Fix test name. 2022-02-01 19:12:39 +00:00
Nikolai Kochetov
ed90a0fc1c Add tests. 2022-02-01 18:57:56 +00:00
Yatsishin Ilya
759574d6f0 improve 2022-02-01 16:59:41 +00:00
Nikolay Degterinsky
56aa60ab88 Add composability to casting and index operators 2022-02-01 15:56:03 +00:00
Anton Popov
0c3d2b048d fix reading of subcolumns with dots in their names 2022-02-01 17:31:35 +03:00
Mikhail f. Shiryaev
805690cbdc
Merge pull request #34183 from ClickHouse/dockerhub-auth
Add authorisation for dockerhub proxy container
2022-02-01 14:58:45 +01:00
alexey-milovidov
cafb19d7fb
Merge pull request #34114 from amosbird/replxxwithlexer
Combining our lexer with replxx for better multiple line editing
2022-02-01 16:32:25 +03:00
alexey-milovidov
4236ae8835
Merge pull request #34192 from devcrafter/deduplication_token_7461_cleanup
Clean up: insert_deduplication_token setting for INSERT statement
2022-02-01 16:31:34 +03:00
achimbab
b3f63965cc
Merge branch 'ClickHouse:master' into ttest_confidence_intervals 2022-02-01 22:24:56 +09:00
Yatsishin Ilya
2a698b8da3 Merge remote-tracking branch 'origin/master' into default-table-engine 2022-02-01 13:23:52 +00:00
alexey-milovidov
2b1d1a9a6f
Merge pull request #34208 from ClickHouse/parse-date-time-best-effort-more-cases
More cases for `parseDateTimeBestEffort`
2022-02-01 16:22:52 +03:00
alexey-milovidov
798e0e8242
Merge pull request #34205 from ClickHouse/format-regexp-allow-cr-in-the-middle
Format `Regexp`: allow `\r` in the middle
2022-02-01 16:22:02 +03:00
Vitaly Baranov
1f81e43f1e Fix checking grants for SHOW GRANTS. 2022-02-01 19:55:24 +07:00
Anton Popov
c28255850a fix metric Query 2022-02-01 15:06:49 +03:00
cmsxbc
8b916a67e5 Merge branch 'master' into addressToLineWithInlines 2022-02-01 19:37:18 +08:00
Nikolai Kochetov
2a6eb593be
Revert "Revert "Add pool to WriteBufferFromS3"" 2022-02-01 13:36:51 +03:00
Ilya Yatsishin
a93aecf1cb
Merge pull request #34191 from Avogar/fix-perf-tests 2022-02-01 11:54:38 +03:00
Igor Nikonov
f4c0b64420 Clean up: insert_deduplication_token setting for INSERT statement
+ reduce number of allocations on replication merge tree path
+ bash test: move insert block settings into variable

Issue: ClickHouse#7461
2022-02-01 09:22:33 +01:00
alesapin
18f08ed932
Revert "Revert "Add func tests run with s3"" 2022-02-01 10:20:06 +03:00
alexey-milovidov
99392b5ca7
Merge pull request #13544 from amosbird/mdha
Multi-Disk auto-recovery.
2022-02-01 06:13:26 +03:00
alexey-milovidov
095d9bfa43
Revert "Add pool to WriteBufferFromS3" 2022-02-01 05:49:40 +03:00
alexey-milovidov
cbfcd45be3
Revert "Add func tests run with s3" 2022-02-01 05:46:13 +03:00
alexey-milovidov
a2aa147ce0
Merge pull request #34153 from ClickHouse/add_func_tests_over_s3
Add func tests run with s3
2022-02-01 05:46:09 +03:00
mergify[bot]
e229487817
Merge branch 'master' into mdha 2022-02-01 01:22:16 +00:00
Alexey Milovidov
989a5ad35e More cases for parseDateTimeBestEffort 2022-02-01 03:29:27 +03:00
mergify[bot]
4f0e011958
Merge branch 'master' into mv_fixes 2022-01-31 23:53:35 +00:00
Alexey Milovidov
83136f3515 Allow \r in the middle of the line in format Regexp 2022-02-01 02:49:26 +03:00
Dmitry Novik
3a0ed0f8f5
Merge pull request #33324 from azat/buffer-different-structure
Simplify different block structure (i.e. after ALTER) support for Buffer
2022-02-01 02:19:49 +03:00
Amos Bird
ec7d367814
DiskLocal checker
Add DiskLocal checker so that ReplicatedMergeTree can recover data when some of its disks are broken.
2022-02-01 05:55:27 +08:00
alesapin
dd61d1c2de
Merge pull request #34172 from ClickHouse/fix_race_in_some_engines
Fix benign race condition for storage HDFS, S3, URL
2022-01-31 22:41:54 +03:00
alesapin
75d73d2785
Merge pull request #34139 from ClickHouse/fix_buf_s3_low_cardinality
Fix bug with bounded S3 reads and LowCardinality
2022-01-31 22:41:14 +03:00
avogar
6229ec530d Fix some perf tests 2022-01-31 21:07:20 +03:00
Yatsishin Ilya
9b8a2ef675 add initial test 2022-01-31 17:11:15 +00:00
avogar
058ef356ac Fix schema inference for table runction s3 2022-01-31 19:39:20 +03:00
Nikolai Kochetov
321fa4a9e8
Merge pull request #33291 from ClickHouse/add-pool-to-s3-write-buffer
Add pool to WriteBufferFromS3
2022-01-31 19:37:40 +03:00
tavplubix
d0ea72f878
Merge pull request #34005 from nicelulu/system_on_cluster
Supports all types of SYSTEM query ON CLUSTER clause.
2022-01-31 19:26:32 +03:00
alesapin
ace8169732 Fix kafka test 2022-01-31 19:18:34 +03:00
alesapin
b6828f1b4a Supress some tests for S3 2022-01-31 19:09:25 +03:00
Mikhail f. Shiryaev
424900bf1f
Add authorisation for dockerhub proxy container 2022-01-31 15:50:05 +01:00
alesapin
1adc7538fe Fix benign race condition for storage HDFS, S3, URL 2022-01-31 13:50:28 +03:00
alesapin
c3f7dece5e
Update tests/integration/test_s3_low_cardinality_right_border/test.py
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-01-31 12:36:58 +03:00
tavplubix
afca3b81bf
Update 02179_dict_reload_on_cluster.sql 2022-01-31 11:54:57 +03:00
Alexey Milovidov
3efff5910c Close #10197 2022-01-30 20:45:53 +03:00
alesapin
9eea8e3183 Fix missed change 2022-01-30 18:22:35 +03:00
alesapin
969987e66b Merge branch 'master' into add_func_tests_over_s3 2022-01-30 18:21:32 +03:00
alesapin
cb45a348f1 Merge branch 'master' into fix_buf_s3_low_cardinality 2022-01-30 17:30:55 +03:00
alesapin
c219a53b4a Add func tests run with s3 2022-01-30 17:28:52 +03:00
Amos Bird
556cce9f3c
We need highlight to use Lexer 2022-01-30 19:48:34 +08:00
zhangxiao871
7f2f7fa993 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master 2022-01-30 13:46:52 +08:00
zhangxiao871
dd395c5721 Better test. 2022-01-30 13:46:11 +08:00
taiyang-li
c9d5251e12 finish dev 2022-01-30 09:10:27 +08:00
Maksim Kita
cfd3421e4f Dictionary PRIMARY KEY parsing fix 2022-01-29 15:50:10 +00:00
alesapin
7ada8227cf Fix bug with bounded S3 reads and LowCardinality 2022-01-29 18:28:40 +03:00
Maksim Kita
f3453024ff
Merge pull request #34060 from amosbird/optimizetupleorderby
Make ORDER BY tuple almost as fast as ORDER BY columns
2022-01-29 15:58:09 +01:00
Anton Popov
96a506c6fa fix inserts to distributed tables in case of change of native protocol 2022-01-29 03:23:25 +03:00
Anton Popov
b950a12cb3
Merge pull request #34068 from CurtizJ/fix-async-insert-native
Fix asynchronous inserts with `Native` format
2022-01-29 01:24:53 +03:00
Anton Popov
7c3d6f5fda
Update 02187_async_inserts_all_formats.sh 2022-01-29 01:24:30 +03:00
alexey-milovidov
6535b75322
Merge pull request #34001 from azat/memory-tracker-fix
Fix memory accounting for queries that uses < max_untracker_memory
2022-01-29 00:59:53 +03:00
FArthur-cmd
cb4ad97d45 add test 2022-01-28 17:37:52 +00:00
avogar
3f5365f1a9 Fix test 2022-01-28 20:07:13 +03:00
avogar
8858b6bf86 Small improvement in schema inference from stdin in local 2022-01-28 19:17:35 +03:00
Azat Khuzhin
0e1c6b6b9c Make 01810_max_part_removal_threads_long more accurate
v0: After parts removing stop attach/detach for each remove, there are only
    11 threads, primary query and 10 for removal.

    CI: https://s3.amazonaws.com/clickhouse-test-reports/34001/8cace291d17fa9553a98b2a1e8bf15b30fe5a1bd/stateless_tests__debug__actions__[3/3].html

v2: Make 01810_max_part_removal_threads_long more deterministic

    Sometimes, if removing parts will be too fast (like in [1]), then it may
    use less threads, since thread pool will reuse existing, so increase
    number of rows per part and compare threads directly w/o throwIf().

      [1]: https://s3.amazonaws.com/clickhouse-test-reports/34001/e74b6379a58c4607bdb54cd4c457410166e869ca/stateless_tests_flaky_check__address__actions_.html

v3: Less flaky 01810_max_part_removal_threads_long
v4: Make check not strict in 01810_max_part_removal_threads_long

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-28 16:25:33 +03:00
Nikolai Kochetov
1c9f026178 Merge branch 'master' into add-pool-to-s3-write-buffer 2022-01-28 16:01:42 +03:00
mergify[bot]
c9a1c9a896
Merge branch 'master' into system_on_cluster 2022-01-28 10:42:26 +00:00
alexey-milovidov
f6684dbc62
Merge pull request #32304 from devcrafter/deduplication_token_7461
insert_deduplication_token setting for INSERT statement
2022-01-28 13:03:55 +03:00
zhangxiao871
7b51e0b8b6 Better test 2022-01-28 18:00:52 +08:00
Vitaly Baranov
484743edff
Merge pull request #33201 from azat/client-interactive-suggest
Client interactive suggest (extract info from CREATE queries)
2022-01-28 16:30:16 +07:00
Kruglov Pavel
842de427d8
Merge pull request #33984 from Avogar/fix-orc
Fix segfault while parsing corrupted ORC file
2022-01-28 12:03:38 +03:00
Kruglov Pavel
efa8775ea6
Merge pull request #33960 from Avogar/autodetect-format
Detect format and schema from stdin in clickhouse-local
2022-01-28 12:02:15 +03:00
mergify[bot]
81c841a89c
Merge branch 'master' into addressToLineWithInlines 2022-01-28 08:20:48 +00:00
Azat Khuzhin
d621e63782 Update reference for 01881_total_bytes_storage_buffer
Since now Buffer does not store empty Block

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-28 11:10:00 +03:00
Nikolai Kochetov
94999e86c2
Merge pull request #33392 from azat/_shard_num
Replace old _shard_num implementation with shardNum() function
2022-01-28 11:02:19 +03:00
zhangxiao871
78e2794ada Fix START MERGES and add test 2022-01-28 14:30:57 +08:00
Anton Popov
6c0959b907 fix asynchronous inserts with Native format 2022-01-28 03:25:15 +03:00
alexey-milovidov
6bcac01021
Update 02124_insert_deduplication_token_multiple_blocks_replica.sh 2022-01-27 23:07:09 +03:00
alexey-milovidov
855db84a22
Update 02124_insert_deduplication_token_multiple_blocks.sh 2022-01-27 23:06:55 +03:00
alexey-milovidov
63d8d75001
Merge pull request #33957 from azat/fix-getauxval
Fix getauxval() in glibc-compatibility and fix some leaks (after LSan started to work)
2022-01-27 23:05:23 +03:00
alexey-milovidov
ea55c9a0ae
Merge pull request #33938 from CurtizJ/fix-mismatched-columns
Fix 'Not found column' exception in distributed queries with arrays and tuples
2022-01-27 22:58:48 +03:00
alexey-milovidov
cd2305eb57
Merge pull request #33956 from CurtizJ/fix-nested-tuples
Fix reading of nested tuples
2022-01-27 22:58:11 +03:00
alexey-milovidov
2c85373966
Merge pull request #34058 from FArthur-cmd/26686_test_final_modifier
Small test for `FINAL`
2022-01-27 22:55:41 +03:00
alexey-milovidov
5a4ad04ae6
Merge pull request #33505 from zvonand/issue_14648
Fix fromUnixTimestamp64 functions
2022-01-27 22:54:53 +03:00
Nikolai Kochetov
7406721cb6 Try to fix race in test. 2022-01-27 18:38:39 +00:00
FArthur-cmd
dc8de1577a remove executable mode from sql file 2022-01-27 18:35:24 +00:00
FArthur-cmd
5970f622d6 Rewrite to SQL test 2022-01-27 18:35:22 +00:00
FArthur-cmd
84565cf464 Add test to prevent error in future 2022-01-27 18:35:13 +00:00
mergify[bot]
3f9ed4fb0b
Merge branch 'master' into fix-orc 2022-01-27 18:22:52 +00:00
Raúl Marín
c14bfc8d1c Test both fixes 2022-01-27 18:15:14 +01:00
mergify[bot]
260942e0f0
Merge branch 'master' into hlee-issue-7334 2022-01-27 14:30:13 +00:00
Nikolay Degterinsky
c5ca5b608e
Merge pull request #33314 from evillique/classification
Merge functions for text classification
2022-01-27 17:15:08 +03:00
Amos Bird
faee95b897
Make ORDER BY tuple almost as fast as ORDER BY columns
We have special optimizations for multiple column ORDER BY: https://github.com/ClickHouse/ClickHouse/pull/10831 . It's beneficial to also apply to tuple columns.

Before:

select * from numbers(300000000) order by (1 - number , number + 1 , number) limit 10;
2.613 sec.

After:

select * from numbers(300000000) order by (1 - number , number + 1 , number) limit 10;
0.755 sec

No tuple:

select * from numbers(300000000) order by 1 - number , number + 1 , number limit 10;
0.755 sec
2022-01-27 21:42:08 +08:00
mergify[bot]
ad146a67ff
Merge branch 'master' into _shard_num 2022-01-27 13:11:42 +00:00
Azat Khuzhin
e04b862673 Add echo for 01570_aggregator_combinator_simple_state
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-27 15:24:17 +03:00
mergify[bot]
eb1bf824be
Merge branch 'master' into fix-mismatched-columns 2022-01-27 12:23:48 +00:00
mergify[bot]
61ac72ca32
Merge branch 'master' into addressToLineWithInlines 2022-01-27 12:02:56 +00:00
Raúl Marín
cb1524d4d9 Less flaky test_inconsistent_parts_if_drop_while_replica_not_active 2022-01-27 12:47:52 +01:00
Kruglov Pavel
a0a17735d4
Fix test 2022-01-27 13:58:40 +03:00
Mikhail f. Shiryaev
88629657ca
Merge pull request #34012 from ClickHouse/pr_description
Pr description
2022-01-27 11:09:17 +01:00
zhangxiao871
d1bc65d684 Fix test. 2022-01-27 16:10:31 +08:00
Raúl Marín
580daa38c5 Verify that independent subqueries in MVs are cached and reused 2022-01-26 17:36:45 +01:00
Raúl Marín
beb99a344f Tests 2022-01-26 17:36:45 +01:00
Raúl Marín
6b08865604 WIP tests 2022-01-26 17:36:45 +01:00
Raúl Marín
444a8e2519 Minimize changes, improve scalar subquery for MVs 2022-01-26 17:36:45 +01:00
Raúl Marín
4b5ab80e3b Better scalar cache handling
- Fixes global CTE scalar cache.
- Adds MVs back (views dependent on the source are cached locally and others globally
2022-01-26 17:36:45 +01:00
HarryLeeIBM
d656da1506 Issue 7334: also remove one unnecessary test 2022-01-26 10:43:45 -05:00
Mikhail f. Shiryaev
22eddff0d5
Add a comment about broken logic for skipping checks 2022-01-26 15:30:59 +01:00
Mikhail f. Shiryaev
462e95d0fa
Replace labels_from_ip by pr_event_from_api 2022-01-26 15:03:30 +01:00
Kruglov Pavel
057001714f
Update 02182_format_and_schema_from_stdin.sh 2022-01-26 16:53:51 +03:00
mergify[bot]
f978ca276d
Merge branch 'master' into fix-orc 2022-01-26 13:12:34 +00:00
Mikhail f. Shiryaev
6fa6588cb5
Add info about body for a failed check 2022-01-26 14:03:01 +01:00
Kruglov Pavel
662ea9d024
Merge pull request #33927 from kitaisreal/range-hashed-dictionary-refactoring
RangeHashedDictionary refactoring
2022-01-26 15:26:57 +03:00
Mikhail f. Shiryaev
99e0ce1ab8
Add get_with_retries helper to build_download_helper.py 2022-01-26 13:20:08 +01:00
cmsxbc
4c605c80f3
improve test, check whether there is no symbol 2022-01-26 20:02:39 +08:00
Mikhail f. Shiryaev
7cde981531
Apply black formatter to build_download_helper.py 2022-01-26 12:10:20 +01:00
Mikhail f. Shiryaev
1ecee3aa8e
Apply black formatter to pr_info 2022-01-26 12:09:35 +01:00
zhangxiao871
1bd74dda63 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master 2022-01-26 17:40:32 +08:00
zhangxiao871
20b669f330 Supports all types of SYSTEM query ON CLUSTER clause. 2022-01-26 17:40:00 +08:00
zvonand
3879137994 Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648 2022-01-26 12:33:21 +03:00
tavplubix
9e91a9dfd1
Merge pull request #33429 from zzsmdfj/MaterializeMySQL_support_set_and_other_dataType
MaterializeMySQL support SET YEAR TIME GEOMETRY dataType
2022-01-26 11:29:46 +03:00
alesapin
677a7f1133
Merge pull request #33990 from ClickHouse/cancel-lambda
Cancel lambda
2022-01-26 10:51:21 +03:00
Maksim Kita
43604a2e8f Fixed tests 2022-01-25 21:56:29 +00:00
Maksim Kita
bf768a94e8
Merge pull request #33971 from Avogar/fix-ipv6
Fix parsing IPv6 from query parameter and fix IPv6 to string conversion
2022-01-25 22:45:11 +01:00
alesapin
0105f7e0bc
Merge pull request #33988 from ClickHouse/keeper_and_access
Fix clickhouse server start when replicated access storage depend on keeper
2022-01-25 22:54:43 +03:00
HarryLeeIBM
8b24688afb Issue 7334: Fixed utf8 string case-insensitive searching issue 2022-01-25 13:56:05 -05:00
cmsxbc
bdf4305bfb
simplify test 2022-01-26 01:33:44 +08:00
Mikhail f. Shiryaev
62ddfbe4ab
Use workflow names instead of ID 2022-01-25 18:32:13 +01:00
Mikhail f. Shiryaev
604af8d3b8
Apply black to cancel lambda 2022-01-25 18:28:17 +01:00
Maksim Kita
0cc8b9462b
Merge pull request #33977 from vitlibar/fix-checking-access-for-system-command
Fix checking access for the SYSTEM command.
2022-01-25 17:07:36 +01:00
Maksim Kita
4507f883e6
Merge pull request #33976 from azat/fix-00985_merge_stack_overflow
Disable parallel run for 00985_merge_stack_overflow
2022-01-25 15:12:47 +01:00
alesapin
b8c6481d4c Fix clickhouse server start when replicated access storage depend on keeper 2022-01-25 16:40:12 +03:00
Vitaly Baranov
cc38fe3fb6 Fix checking access for the SYSTEM command. 2022-01-25 18:54:59 +07:00
mergify[bot]
c859945b62
Merge branch 'master' into no-clickhouse-test-deb-in-stateless 2022-01-25 11:43:54 +00:00
Ilya Yatsishin
fe84167c99
Merge pull request #33983 from ClickHouse/docker-green-on-retry
Fix dependencies tree for docker image check
2022-01-25 14:43:00 +03:00
Kruglov Pavel
1b19139f74
Merge pull request #31862 from Avogar/fix-lz4
Try to fix lz4 compression
2022-01-25 14:34:45 +03:00
avogar
356de038ae Fix segfault while parsing corrupted file 2022-01-25 14:31:49 +03:00
cmsxbc
58dd1a2d5c
add function addressToLineWithInlines 2022-01-25 19:13:47 +08:00
Maksim Kita
d9e079da4e Added tests 2022-01-25 11:13:37 +00:00
Maksim Kita
bcbd956b83 RangeHashedDictionary change layout structure 2022-01-25 11:13:37 +00:00
Mikhail f. Shiryaev
fb908a31e2
Fix dependencies tree for docker image check 2022-01-25 12:09:10 +01:00
Nikolay Degterinsky
5edbae6734 Merge branch 'master' into classification 2022-01-25 10:22:47 +00:00
Azat Khuzhin
922b758298 Disable parallel run for 00985_merge_stack_overflow
Since parallel queries to system.columns may fail with
TOO_DEEP_RECURSION too.

CI: https://s3.amazonaws.com/clickhouse-test-reports/33201/0013a2fdee26fc11a34ebffaf10f69d7cfff9b3a/fast_test__actions_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-25 12:54:43 +03:00
Yatsishin Ilya
bc10e08fb4 add missing space 2022-01-25 09:07:04 +00:00
Kruglov Pavel
7873b4475f
Merge branch 'master' into autodetect-format 2022-01-25 10:56:52 +03:00
Kruglov Pavel
9f12f4af13
Merge pull request #33302 from Avogar/formats-with-suffixes
Allow to create new files on insert for File/S3/HDFS engines
2022-01-25 10:56:15 +03:00
avogar
a6740d2f9a Detect format and schema for stdin in clickhouse-local 2022-01-25 10:25:37 +03:00
avogar
ad01d68f36 Fix parsing IPv6 from query parameter and fix IPv6 to string conversion 2022-01-25 10:09:17 +03:00
zvonand
70b5db0d20 Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648 2022-01-25 09:38:50 +03:00
Maksim Kita
c1db61b4ed
Merge pull request #33946 from azat/build-cleanup
Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES)
2022-01-24 23:42:04 +01:00
Anton Popov
56d2b52693 fix reading of nested tuples 2022-01-24 18:44:11 +03:00
Mikhail f. Shiryaev
57b4655fa2
Fix style for pr_info 2022-01-24 16:34:01 +01:00
Mikhail f. Shiryaev
8e8ee8f8d1
Add style-checker-aarch64 to metrics lambda 2022-01-24 15:50:34 +01:00
Azat Khuzhin
4a0facd341 Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES)
There is no more MAKE_*, so remove this alias.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-24 17:28:33 +03:00
mergify[bot]
604b85d861
Merge branch 'master' into no-clickhouse-test-deb-in-stateless 2022-01-24 14:05:17 +00:00
achimbab
8c52b45482
Merge branch 'ClickHouse:master' into ttest_confidence_intervals 2022-01-24 22:56:05 +09:00
Mikhail f. Shiryaev
7a1f471d6f
Add tests for process_image_with_parrents 2022-01-24 14:55:57 +01:00
Mikhail f. Shiryaev
70d997cbda
Fix pylint issues 2022-01-24 14:54:37 +01:00
Mikhail f. Shiryaev
18ef029ed3
Fix issue with building from non-existing tags 2022-01-24 14:54:29 +01:00
Mikhail f. Shiryaev
3531318388
Add tests for get_changed_docker_images 2022-01-24 14:52:07 +01:00
Mikhail f. Shiryaev
aa296c36bb
Fix dummy PRInfo 2022-01-24 14:51:56 +01:00
Anton Popov
6cbcfd706f fix conversion function to literal 2022-01-24 15:28:15 +03:00
Yatsishin Ilya
3a55f7a7d6 Do not use clickhouse-test.deb in stateless 2022-01-24 11:53:42 +00:00
alexey-milovidov
6ee0b18979
Merge pull request #33920 from ClickHouse/fix-if-combinator
Fix aggregate function combinator `-If` with `Nullable` filter argument
2022-01-24 11:43:11 +03:00
Anton Popov
3567e18f6e fix 'Not found column' exception in distributed queries with arrays and tuples 2022-01-24 10:46:30 +03:00
alesapin
48c19e88a5
Merge pull request #33926 from ClickHouse/fix_flaky_test
Fix test_replica_is_active flaky test
2022-01-24 10:19:10 +03:00
achimbab
5d70734132
Merge branch 'master' into ttest_confidence_intervals 2022-01-24 11:57:56 +09:00
Maksim Kita
7fffe5846f
Merge pull request #33924 from kitaisreal/sql-user-defined-functions-invalid-lambda-crash-fix
SQLUserDefinedFunctions invalid lambda additional cases
2022-01-23 22:06:49 +01:00
zvonand
86cc9419ba Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648 2022-01-23 22:30:31 +03:00
alesapin
57dae1e308
Merge pull request #33162 from azat/integration-tests-status
Fix status of SKIPPED integration tests (was incorrectly marked as ERROR)
2022-01-23 21:46:59 +03:00
Maksim Kita
818966c1a2
Merge pull request #33921 from bharatnc/ncb/h3-improve
explicitly checkAndGetColumn for remaining H3 funcs
2022-01-23 18:08:30 +01:00
Maksim Kita
243a280936 Updated tests 2022-01-23 17:02:43 +00:00
alesapin
51a6d08bff Fix test_replica_is_active flaky test 2022-01-23 19:31:09 +03:00
bharatnc
6faad9366b fix tests 2022-01-23 06:29:57 -08:00
Maksim Kita
f76536c079
Merge pull request #33914 from kitaisreal/dictionaries-added-support-for-date-time-64
Dictionaries added support for DateTime64
2022-01-23 13:21:22 +01:00
Maksim Kita
c66d5c6dd0
Merge pull request #33794 from kitaisreal/support-cast-from-map-to-array-of-tuple
Support cast from Map to Array of Tuple
2022-01-23 13:10:28 +01:00
Alexey Milovidov
4d30e6eab6 Fix aggregate function combinator -If with Nullable filter argument 2022-01-23 08:27:29 +03:00
Maksim Kita
4ec2861d82
Merge pull request #33907 from ClickHouse/more-retries-in-ci
Add more retries in CI for AWS "spot" instances
2022-01-23 00:57:35 +01:00
Maksim Kita
2d84d5f74d
Merge pull request #33918 from kitaisreal/dictionaries-updated-support-for-empty-attributes
Dictionaries updated support for empty attributes
2022-01-23 00:56:10 +01:00
mergify[bot]
d0286f9c22
Merge branch 'master' into more-retries-in-ci 2022-01-22 21:04:09 +00:00
Maksim Kita
4be393fba5 Support cast from Map to Array of Tuple 2022-01-22 20:40:18 +00:00
Maksim Kita
d1376684ae Added tests 2022-01-22 20:01:56 +00:00
Maksim Kita
b7605367d9 Added tests 2022-01-22 18:25:28 +00:00
Anton Popov
6861adadcf
Merge pull request #33637 from azat/fix-optimize_aggregation_in_order
RFC: Fix "Chunk should have AggregatedChunkInfo in GroupingAggregatedTransform"
2022-01-22 19:05:39 +03:00
alexey-milovidov
d7a63dfda6
Merge pull request #33677 from ucasfl/fix-sumif
Fix sumIf rewrite
2022-01-22 17:12:13 +03:00
Vitaly Baranov
539b4f9b23
Merge pull request #33575 from vitlibar/fix-testflows
Fix testflows tests
2022-01-22 18:59:05 +07:00
Vitaly Baranov
4c2f190ed5 Fix the order of destruction: a table which is used as a source for a dictionary
should be destroyed after destroying the dictionary.
2022-01-22 18:55:07 +07:00
Vitaly Baranov
4ae0f0a673 Revert changes related to clickhouse_version in regression.py 2022-01-22 18:55:07 +07:00
Vitaly Baranov
14a32ba584 Apply a patch made by Vitaly Zakaznikov. 2022-01-22 18:55:07 +07:00
Vitaly Baranov
77774cd1bd Add comments about other tests which should be fixed. 2022-01-22 18:55:07 +07:00
Vitaly Baranov
291600b565 Fix running kerberos tests. 2022-01-22 18:55:07 +07:00
Vitaly Baranov
04a05777c9 Enable RBAC and LDAP tests. 2022-01-22 18:55:07 +07:00
Vitaly Baranov
5ab39fcece Fix ldap tests because ClickHouse changed the format of error messages. 2022-01-22 18:55:07 +07:00
Vitaly Baranov
27625bfd47 Replace calls of run_scenario() and pool.apply_async() because Testflows has upgraded to 1.7.20.
See also https://github.com/ClickHouse/ClickHouse/pull/27040
2022-01-22 18:55:07 +07:00
Vitaly Baranov
5d0e8eb500 Fix tests after changing error message when one tries to grant a nonexistent role to nonexistent user (https://github.com/ClickHouse/ClickHouse/pull/27701). 2022-01-22 18:55:07 +07:00
Maksim Kita
4100512818
Merge pull request #33621 from bharatnc/ncb/h3-misc-funcs
add h3 misc functions - part 2
2022-01-22 12:20:06 +01:00
Maksim Kita
1bc3f086b1
Merge pull request #33889 from kitaisreal/sql-user-defined-functions-invalid-lambda-crash-fix
SQLUserDefinedFunctions invalid lambda additional fixes
2022-01-22 12:09:42 +01:00
Mikhail f. Shiryaev
13f7f56c5b
Merge pull request #33342 from JaySon-Huang/get_cpu_cores_under_cgroup
Fix cpu count with cgroup limits
2022-01-22 11:32:08 +01:00
Alexey Milovidov
30b436b9b1 Add more retries in CI for AWS "spot" instances 2022-01-22 13:10:45 +03:00
alexey-milovidov
8cabd373e1
Merge pull request #32170 from FrankChen021/hex
Allows hex() to work on type of UUID
2022-01-22 13:03:22 +03:00
alexey-milovidov
844d5e59d3
Merge pull request #33880 from qoega/integration-stable-postgesql
Improve postgresql integration test
2022-01-22 12:57:46 +03:00
alexey-milovidov
97e5e71a35
Merge pull request #33872 from ClickHouse/fix_rerun_perf_tests
Fix perf comparison rerun
2022-01-22 10:40:27 +03:00
alexey-milovidov
a58432142c
Merge pull request #33830 from Avogar/json-each-row
Fix schema inference for JSONEachRow and JSONCompactEachRow
2022-01-22 10:37:28 +03:00
mergify[bot]
7734f9d629
Merge branch 'master' into fix-sumif 2022-01-22 06:08:47 +00:00
Maksim Kita
3a252cd3a0 Updated tests 2022-01-21 20:49:42 +00:00
Maksim Kita
1b5a67517b
Merge pull request #33870 from kitaisreal/dictionary-attach-detach-added-test
Dictionary ATTACH, DETACH added test
2022-01-21 20:17:04 +01:00
alexey-milovidov
43f2e2c178
Merge pull request #33849 from CurtizJ/fix-sparse-columns
Fix sparse columns
2022-01-21 21:13:02 +03:00
Yatsishin Ilya
23cb226904 fixes 2022-01-21 17:03:48 +00:00
Kruglov Pavel
7116572702
Merge pull request #33829 from Avogar/autodetect-format
Add format autodetect in clickhouse-local
2022-01-21 18:58:49 +03:00
alesapin
4b93607343 Fix perf comparison 2022-01-21 18:40:03 +03:00
Maksim Kita
330987a64b
Merge pull request #33868 from kitaisreal/sql-user-defined-functions-invalid-lambda-crash-fix
SQLUserDefinedFunctions invalid lambda crash fix
2022-01-21 16:23:12 +01:00
Maksim Kita
d6bb5c1239 Dictionary ATTACH, DETACH added test 2022-01-21 14:41:53 +00:00
Maksim Kita
3b24c39294 SQLUserDefinedFunctions invalid lambda crash fix 2022-01-21 14:33:57 +00:00
Maksim Kita
9b3a36a420
Merge pull request #33846 from ClickHouse/Avogar-patch-1
Fix DESCRIBE TABLE query formatting
2022-01-21 15:28:05 +01:00
Nikolai Kochetov
012453e212
Merge pull request #33588 from alexeypavlenko/fix_nested_default
Fix default value generation for columns with dot
2022-01-21 17:19:42 +03:00
JaySon-Huang
d71a31ba4b Fix typo
Signed-off-by: JaySon-Huang <tshent@qq.com>
2022-01-21 21:03:23 +08:00
JaySon-Huang
f01776d0af Add integration test
Signed-off-by: JaySon-Huang <tshent@qq.com>
2022-01-21 21:03:23 +08:00
Mikhail f. Shiryaev
ee6e69323b
Merge pull request #33789 from ClickHouse/approve-workflows-by-name
Use workflow names in approve lambda
2022-01-21 13:50:17 +01:00
Kruglov Pavel
daba57a933
Merge pull request #33737 from Avogar/bool-type
Some improvements and fixes for Bool data type
2022-01-21 15:24:58 +03:00
avogar
12d20eb8be Fix tests 2022-01-21 15:19:57 +03:00
Kruglov Pavel
bae0898c8c
Update 02182_json_each_row_schema_inference.sh 2022-01-21 15:15:57 +03:00
avogar
5997ace03b Add test 2022-01-21 15:12:42 +03:00
mergify[bot]
65e940d55c
Merge branch 'master' into MaterializeMySQL_support_set_and_other_dataType 2022-01-21 11:37:22 +00:00
Maksim Kita
ace483fb5b
Merge pull request #33769 from bharatnc/ncb/degrees-radians-funcs
add DEGREES and RADIANS funcs
2022-01-21 11:50:11 +01:00
Maksim Kita
548a7bccee
Merge pull request #33804 from CurtizJ/redis-pool
Use connection pool for redis dictionary
2022-01-21 11:40:35 +01:00
zzsmdfj
f54d607b3b to MaterializeMySQL_support_set_and_other_dataType 2022-01-21 12:24:13 +08:00
zzsmdfj
e380e59b16 MaterializeMySQL support SET YEAR TIME GEOMETRY dataType 2022-01-21 12:24:11 +08:00
bharatnc
3342c64110 Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs 2022-01-20 20:21:56 -08:00
mergify[bot]
8e7b26bae0
Merge branch 'master' into ncb/degrees-radians-funcs 2022-01-20 22:30:27 +00:00
Anton Popov
558eb7ea73 fix sparse columns 2022-01-21 00:06:32 +03:00
Maksim Kita
56a54af27b
Merge pull request #33833 from amosbird/keyconditionfix
Fix KeyCondition with no common types
2022-01-20 20:31:27 +01:00
Maksim Kita
b2d95f6750
Merge pull request #33831 from kitaisreal/dictionaries-added-date32-type-support
Dictionaries added Date32 type support
2022-01-20 19:04:46 +01:00