mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Improved test
This commit is contained in:
parent
21958c47cd
commit
77fb3de2d6
@ -0,0 +1,2 @@
|
||||
1000000
|
||||
1000000
|
@ -5,10 +5,18 @@ INSERT INTO merge_tree SELECT 0 FROM numbers(1000000);
|
||||
SET max_threads = 4;
|
||||
SET max_rows_to_read = 1100000;
|
||||
|
||||
SET merge_tree_uniform_read_distribution = 1;
|
||||
SELECT count() FROM merge_tree;
|
||||
|
||||
SET merge_tree_uniform_read_distribution = 0;
|
||||
|
||||
SELECT count() FROM merge_tree;
|
||||
|
||||
SET max_rows_to_read = 900000;
|
||||
|
||||
SET merge_tree_uniform_read_distribution = 1;
|
||||
SELECT count() FROM merge_tree; -- { serverError 158 }
|
||||
|
||||
SET merge_tree_uniform_read_distribution = 0;
|
||||
SELECT count() FROM merge_tree; -- { serverError 158 }
|
||||
|
||||
DROP TABLE merge_tree;
|
||||
|
Loading…
Reference in New Issue
Block a user