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:
Alexander Tokmakov 2023-07-07 17:47:09 +03:00 committed by GitHub
parent aac8eda40a
commit 50ea0855bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -1 +0,0 @@
/test/02439/s1/default/block_numbers/123

View File

@ -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;