Commit Graph

286 Commits

Author SHA1 Message Date
Nikolai Kochetov
327674f56d
Merge pull request #46537 from ClickHouse/aggregate-projections-analysis-query-plan
Projections analysis from query plan
2023-03-25 13:23:30 +01:00
Dmitry Novik
0638f31a09
Merge pull request #47727 from ClickHouse/const-aggregation-key-fix
Fix aggregation with constant key in planner
2023-03-24 19:47:20 +01:00
Nikolai Kochetov
73e98de46d Merge branch 'master' into aggregate-projections-analysis-query-plan 2023-03-23 21:28:36 +01:00
Nikita Mikhaylov
301e26b23d
Parallel replicas. Part 2.5 (#47858) 2023-03-22 13:05:38 +01:00
Dmitry Novik
49ffda181b Update test reference 2023-03-21 14:52:13 +00:00
Alexey Milovidov
69ae1bd060 Merge remote-tracking branch 'origin/master' into concurrency 2023-03-17 00:57:03 +01:00
Nikolai Kochetov
669a92bae0 Merge branch 'master' into aggregate-projections-analysis-query-plan 2023-03-13 19:55:49 +01:00
Dmitry Novik
429696b575 Update reference file 2023-03-07 22:57:47 +00:00
Dmitry Novik
13f1e5b022 Merge remote-tracking branch 'origin/master' into analyzer-group-by-use-nulls 2023-03-07 16:16:48 +00:00
Alexey Milovidov
62c37b3e37 Merge branch 'master' into concurrency 2023-03-04 09:15:59 +01:00
Maksim Kita
d39be3ac9c Fixed tests 2023-03-01 18:05:07 +01:00
Dmitry Novik
54680b1a0a Merge remote-tracking branch 'origin/master' into analyzer-group-by-use-nulls 2023-03-01 01:08:17 +00:00
Nikolai Kochetov
3392b96cc3
Merge branch 'master' into aggregate-projections-analysis-query-plan 2023-02-27 14:07:04 +01:00
Alexey Milovidov
4ba8d84694 Adjust tests 2023-02-27 07:10:02 +01:00
Nikolai Kochetov
9749bd491b Fixing test. 2023-02-22 10:26:13 +00:00
Nikolai Kochetov
a47860af17 Fixing more tests. 2023-02-21 19:50:17 +00:00
Kseniia Sumarokova
9fb7d4fd05
Update .reference 2023-02-20 12:55:24 +01:00
Kseniia Sumarokova
34cda2bcb2
Update 00170_s3_cache.sql 2023-02-20 12:54:13 +01:00
Dmitry Novik
0e5975c50d
Merge branch 'master' into analyzer-group-by-use-nulls 2023-02-15 17:01:30 +01:00
Nikita Taranov
cbd10c4493
Fix mbm with aio on top of query plan (#45892) 2023-02-14 14:02:54 +01:00
Dmitry Novik
8a3be450c3 Add test query 2023-02-13 18:38:07 +00:00
Dmitry Novik
3ea3b3545d Add statefull test 2023-02-03 18:02:50 +00:00
Nikita Mikhaylov
33877b5e00
Parallel replicas. Part [2] (#43772) 2023-02-03 14:34:18 +01:00
vdimir
1e9ccfb4b9
wip 2023-01-17 12:21:56 +00:00
Alexander Gololobov
0ae7f03516
Merge branch 'master' into fix_unicode_bar 2022-12-22 14:53:33 +01:00
Alexander Gololobov
5349a0b966 Update stateful test results, diff is caused by duplicate U+258B in the old version 2022-12-20 16:50:31 +01:00
vdimir
c7636a0af2
Rename 00172_parallel_join to 00172_hits_joins 2022-12-19 11:09:22 +00:00
vdimir
36557f1e74
Disable grase_hash in test 00172_parallel_join 2022-12-19 11:07:30 +00:00
Vladimir C
53dc70a2d0
Merge pull request #38191 from BigRedEye/grace_hash_join
Closes https://github.com/ClickHouse/ClickHouse/issues/11596
2022-11-30 17:01:00 +01:00
avogar
66f5918c89 Try fix flaky test 00176_bson_parallel_parsing.sh 2022-11-25 20:10:31 +00:00
Igor Nikonov
20e67b7140 Merge remote-tracking branch 'origin/master' into HEAD 2022-11-24 13:10:37 +00:00
Sema Checherinda
db86cd0f0a fix several critical races, fix tests 2022-11-23 15:16:08 +00:00
Alexander Tokmakov
a2c53a56c2
Update 00176_bson_parallel_parsing.sh 2022-11-23 14:57:13 +03:00
Igor Nikonov
6ef83f455c
Merge pull request #43410 from ClickHouse/igor/fix-distinct-limitby-limit
Fix: limit hint for DISTINCT ignores LIMIT BY
2022-11-23 12:43:15 +01:00
Igor Nikonov
7f8d07e4b7 Fix: limit hint for DISTINCT ignores LIMIT BY
+ test
2022-11-20 23:06:57 +00:00
Kruglov Pavel
ebdfbf43db
Adjust test 2022-11-17 13:43:49 +01:00
avogar
c051bac01a Remove trash 2022-11-16 13:27:05 +00:00
avogar
ba0cb86837 Add more tests 2022-11-16 12:25:31 +00:00
vdimir
506bf2d225
Merge branch 'master' into grace_hash_join 2022-10-26 12:25:50 +00:00
Azat Khuzhin
9a9bbac19b tests: avoid model overlap for obfuscator
In case of stress tests it is possible, and there is LOGICAL_ERROR in
case of error, which will create core dump.

Actually on CI [1] there error was likely this:

    stress_test_run_17.txt:/usr/share/clickhouse-test/queries/1_stateful/00175_obfuscator_schema_inference.sh: line 18: /tmp/clickhouse-test/1_stateful/model.bin: No such file or directory

So the file had been removed by another concurrent test.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/42190/56bc85746fa0b553e43c2253250404cfcca46855/stress_test__ubsan_.html

Note, that actually it is enough just to change the name in this two
tests, however let's make them even more error-resistant.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-22 21:14:49 +02:00
Alexey Milovidov
ba5c3d122f Remove old test 2022-10-20 23:59:43 +02:00
Alexey Milovidov
8a066b5eef Fix test 2022-10-11 01:28:36 +02:00
Alexey Milovidov
1cb91e72fb Add a test for #658 2022-10-09 04:46:32 +02:00
vdimir
7ebc297f4c
Merge branch 'master' into pr/BigRedEye/38191 2022-09-30 09:40:47 +00:00
Alexey Milovidov
05e7106bd5
Merge branch 'master' into patch-1 2022-09-28 01:04:14 +03:00
vdimir
28818c597a
wip grace hash join 2022-09-27 12:33:09 +00:00
Alexey Milovidov
f7aba18185
Fix test 2022-09-18 07:44:25 +03:00
avogar
ef7f7b30aa Fix tests 2022-09-15 18:20:17 +00:00
vdimir
7f6c8a0ae7
More tests for grace hash join 2022-09-15 12:14:27 +00:00
vdimir
8183b07dfa
Fix 01721_join_implicit_cast_long 2022-09-07 16:38:47 +00:00
Nikolay Degterinsky
330e3324b0 Fix test 2022-09-05 12:46:26 +00:00
Nikolay Degterinsky
5a611e272a Merge remote-tracking branch 'upstream/master' into obfuscator-schema-inference 2022-09-01 13:07:28 +00:00
Alexey Milovidov
76c2bcd258 Fix test 2022-08-13 02:20:31 +02:00
Nikolay Degterinsky
9bc9555a58 Fix test 2022-08-12 00:20:05 +00:00
Nikolay Degterinsky
c108f4bf0a Add test 2022-08-11 11:56:30 +00:00
Alexey Milovidov
0069a949c4 Fix test 2022-08-11 10:04:31 +02:00
Alexey Milovidov
1a31f82d1e Add a test for #10575 2022-08-11 07:45:48 +02:00
UnamedRus
d828e79ea1
Update 00175_partition_by_ignore.reference 2022-08-04 15:45:06 +03:00
UnamedRus
61b7025981
Create 00175_partition_by_ignore.reference 2022-08-04 00:05:24 +03:00
UnamedRus
aa0c0cf2f9
Add test for ignore function in PARTITION KEY 2022-08-04 00:02:44 +03:00
Igor Nikonov
6a84073801 Fix test 2022-07-27 13:48:17 +00:00
Igor Nikonov
377c04fbf1 Merge remote-tracking branch 'origin/master' into fix_distinct_sorted 2022-07-27 13:01:18 +00:00
Igor Nikonov
cac4d77d0b Merge remote-tracking branch 'origin/master' into distinct_sorted_chunk_perf_impr 2022-07-26 20:36:38 +00:00
Igor Nikonov
24f3a6905f
Merge branch 'master' into fix_distinct_sorted 2022-07-26 21:57:44 +02:00
Mikhail f. Shiryaev
061e61919a
Merge pull request #39450 from ClickHouse/tsal-clang-13
Build thread sanitizer binaries with clang-13
2022-07-26 15:13:17 +02:00
Igor Nikonov
f574a00e7b Fix test 2022-07-25 07:56:50 +00:00
Alexey Milovidov
1f4e7ea34c Add a test 2022-07-25 05:37:07 +02:00
Alexey Milovidov
4cbf4741fb Add a test 2022-07-25 04:16:07 +02:00
Igor Nikonov
5829e47adb Add test: check the optimized DISTINCT output is the same as for
ordinary one
2022-07-24 22:27:02 +00:00
Anton Popov
c1a5514e46 fix reading from async read buffer with direct io 2022-07-22 16:58:30 +00:00
Mikhail f. Shiryaev
c6b251d0cb
Revert "Merge pull request #38106 from ClickHouse/tsan_less_flaky_tests"
This reverts commit 0ae0cc54aa, reversing
changes made to 1d7cf28cab.
2022-07-22 12:14:23 +02:00
Igor Nikonov
8bd423f7dc Fix test: move test to stateful tests 2022-07-21 05:27:31 +00:00
Dmitry Novik
ffa5ef6293 Update tests 2022-07-12 00:14:41 +00:00
vdimir
a4b93c7454
Add algorithms to 00172_parallel_join 2022-07-06 14:27:34 +00:00
Alexander Tokmakov
7c37079a96 Merge branch 'master' into deprecate_ordinary_database 2022-06-27 14:46:59 +02:00
Robert Schulze
2c828338f4
Replace hyperscan by vectorscan
This commit migrates ClickHouse to Vectorscan. The first 10 min of
[0] explain the reasons for it.

(*) Addresses (but does not resolve) #38046

(*) Config parameter names (e.g. "max_hyperscan_regexp_length") are
    preserved for compatibility. Likewise, error codes (e.g.
    "ErrorCodes::HYPERSCAN_CANNOT_SCAN_TEXT") and function/class names (e.g.
    "HyperscanDeleter") are preserved as vectorscan aims to be a drop-in
    replacement.

[0] https://www.youtube.com/watch?v=KlZWmmflW6M
2022-06-24 10:47:52 +02:00
Alexander Tokmakov
f00e6b5a7a deprecate old MergeTree syntax 2022-06-23 11:24:54 +02:00
Nikolai Kochetov
b8d27aa8dd
Merge pull request #37469 from azat/projections-optimize_aggregation_in_order
Implement in order aggregation (optimize_aggregation_in_order) for projections for tables with fully materialized projections
2022-06-21 12:17:35 +02:00
Alexander Tokmakov
ca649da97f better comments 2022-06-16 12:12:44 +02:00
Azat Khuzhin
3e833b403d tests: fix expectations for 00172_early_constant_folding
After AggregatingStep is used, there is not StrictResize processor,
since there is only one stream.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 09:58:36 +03:00
Alexander Tokmakov
9cac78b498 make tests with tsan less flaky 2022-06-15 19:54:46 +02:00
Nikolai Kochetov
8991f39412 Merge branch 'master' into refactor-read-metrics-and-callbacks 2022-06-02 17:00:08 +00:00
Nikita Mikhaylov
d34e051c69
Support for simultaneous read from local and remote parallel replica (#37204) 2022-06-02 11:46:33 +02:00
Nikolai Kochetov
e993343c89 Fix another one test. 2022-05-31 21:38:56 +00:00
mergify[bot]
b43cfd056f
Merge branch 'master' into floating_seconds 2022-05-30 19:18:35 +00:00
Raúl Marín
a86aa43baa Merge remote-tracking branch 'blessed/master' into floating_seconds_2 2022-05-24 17:10:45 +02:00
mergify[bot]
51ff49a0ee
Merge branch 'master' into i_object_storage 2022-05-23 20:29:49 +00:00
avogar
a6a430c5ee Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-columns-formats 2022-05-20 11:08:30 +00:00
alesapin
654b27e307 Merge branch 'master' into i_object_storage 2022-05-20 11:56:13 +02:00
alesapin
d4abbf54b0
Update 00170_s3_cache.sql 2022-05-18 23:21:07 +02:00
alesapin
19462bdf9e Drop filesystem cache before test 2022-05-18 14:31:28 +02:00
Kruglov Pavel
2b655ccb75
Speed up test 00157_cache_dictionary 2022-05-18 12:12:41 +02:00
Raúl Marín
644b7c01bd Lower the value of settings to match old behaviour
Before the change to use floats, this settings were getting
0 as the parsed value, so keep the old value by setting to
zero explicitly
2022-05-14 01:19:19 +02:00
mergify[bot]
4a661b6e78
Merge branch 'master' into json-columns-formats 2022-05-13 11:32:03 +00:00
avogar
02679c7222 Fix tests 2022-05-10 16:27:59 +00:00
vdimir
d712985575
Minor style changes for ConcurrentHashJoin 2022-05-06 15:17:46 +00:00
Vladimir C
bd5fab97d9
Merge pull request #36415 from bigo-sg/concurrent_join 2022-05-06 17:11:10 +02:00
alesapin
c72596bae6
Merge pull request #36763 from kssenii/fix-async-reads
Fix some issues with low cardinality and async reads from remote fs
2022-04-29 12:18:19 +02:00
kssenii
c31aae0ef4 Update test 2022-04-29 01:17:11 +02:00
Kseniia Sumarokova
5c69e0e1c2
Update 00170_s3_cache.reference 2022-04-28 16:41:23 +02:00