mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge pull request #70834 from ClickHouse/issue_15768
Add test with distributed queries for 15768
This commit is contained in:
commit
3e72b26b4d
@ -0,0 +1,2 @@
|
||||
0 7
|
||||
0 7
|
@ -25,10 +25,8 @@ FROM 03031_test
|
||||
PREWHERE (id = NULL) AND 1024
|
||||
WHERE 0.0001
|
||||
GROUP BY '0.03'
|
||||
WITH ROLLUP
|
||||
SETTINGS force_primary_key = 1, force_data_skipping_indices = 'value_1_idx, value_2_idx', enable_analyzer=0;
|
||||
|
||||
|
||||
SELECT
|
||||
count('9223372036854775806'),
|
||||
7
|
||||
@ -38,3 +36,23 @@ WHERE 0.0001
|
||||
GROUP BY '0.03'
|
||||
WITH ROLLUP
|
||||
SETTINGS force_primary_key = 1, force_data_skipping_indices = 'value_1_idx, value_2_idx', enable_analyzer=1; -- { serverError ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER }
|
||||
|
||||
-- Distributed queries currently return one row with count()==0
|
||||
SELECT
|
||||
count('9223372036854775806'),
|
||||
7
|
||||
FROM remote('127.0.0.{1,2}', currentDatabase(), 03031_test)
|
||||
PREWHERE (id = NULL) AND 1024
|
||||
WHERE 0.0001
|
||||
GROUP BY '0.03'
|
||||
SETTINGS force_primary_key = 1, force_data_skipping_indices = 'value_1_idx, value_2_idx', enable_analyzer=0;
|
||||
|
||||
SELECT
|
||||
count('9223372036854775806'),
|
||||
7
|
||||
FROM 03031_test
|
||||
PREWHERE (id = NULL) AND 1024
|
||||
WHERE 0.0001
|
||||
GROUP BY '0.03'
|
||||
SETTINGS force_primary_key = 1, force_data_skipping_indices = 'value_1_idx, value_2_idx', enable_analyzer=0,
|
||||
allow_experimental_parallel_reading_from_replicas=1, cluster_for_parallel_replicas='parallel_replicas', max_parallel_replicas=100, parallel_replicas_for_non_replicated_merge_tree=1;
|
||||
|
Loading…
Reference in New Issue
Block a user