mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix global stop merges in test
This commit is contained in:
parent
47d684a5c3
commit
914fa48700
@ -3,14 +3,14 @@ CREATE TABLE skip_idx_comp_parts (a Int, b Int, index b_idx b TYPE minmax GRANUL
|
||||
ENGINE = MergeTree ORDER BY a
|
||||
SETTINGS index_granularity=256, merge_max_block_size=100;
|
||||
|
||||
SYSTEM STOP MERGES;
|
||||
SYSTEM STOP MERGES skip_idx_comp_parts;
|
||||
|
||||
INSERT INTO skip_idx_comp_parts SELECT number, number FROM numbers(200);
|
||||
INSERT INTO skip_idx_comp_parts SELECT number, number FROM numbers(200);
|
||||
INSERT INTO skip_idx_comp_parts SELECT number, number FROM numbers(200);
|
||||
INSERT INTO skip_idx_comp_parts SELECT number, number FROM numbers(200);
|
||||
|
||||
SYSTEM START MERGES;
|
||||
SYSTEM START MERGES skip_idx_comp_parts;
|
||||
OPTIMIZE TABLE skip_idx_comp_parts FINAL;
|
||||
|
||||
SELECT count() FROM skip_idx_comp_parts WHERE b > 100;
|
||||
|
Loading…
Reference in New Issue
Block a user