mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Update 02439_merge_selecting_partitions.sql (#51862)
* Update 02439_merge_selecting_partitions.sql * Update 02439_merge_selecting_partitions.reference * Update 02439_merge_selecting_partitions.reference * fix
This commit is contained in:
parent
aac8eda40a
commit
50ea0855bf
@ -1 +0,0 @@
|
||||
/test/02439/s1/default/block_numbers/123
|
@ -22,7 +22,9 @@ select sleepEachRow(3) as higher_probability_of_reproducing_the_issue format Nul
|
||||
system flush logs;
|
||||
|
||||
-- it should not list unneeded partitions where we cannot merge anything
|
||||
select distinct path from system.zookeeper_log where path like '/test/02439/s1/' || currentDatabase() || '/block_numbers/%'
|
||||
and op_num in ('List', 'SimpleList', 'FilteredList') and path not like '%/block_numbers/1';
|
||||
select * from system.zookeeper_log where path like '/test/02439/s1/' || currentDatabase() || '/block_numbers/%'
|
||||
and op_num in ('List', 'SimpleList', 'FilteredList')
|
||||
and path not like '%/block_numbers/1' and path not like '%/block_numbers/123'
|
||||
and event_time >= now() - interval 1 minute;
|
||||
|
||||
drop table rmt;
|
||||
|
Loading…
Reference in New Issue
Block a user