Merge pull request #71035 from ClickHouse/fix-bad-test-2

Fix bad test `01524_do_not_merge_across_partitions_select_final.sql`
This commit is contained in:
Alexey Milovidov 2024-10-26 21:01:15 +02:00 committed by GitHub
commit 15c8727013
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 13 deletions

View File

@ -6,4 +6,3 @@
2020-01-01 00:00:00 2
1
499999
18

View File

@ -1,5 +1,4 @@
-- Tags: no-parallel, no-fasttest
-- no-parallel: it checks the number of threads, which can be lowered in presence of other queries
-- Tags: no-fasttest
DROP TABLE IF EXISTS select_final;
@ -32,17 +31,7 @@ SELECT max(x) FROM select_final FINAL where string = 'updated';
TRUNCATE TABLE select_final;
INSERT INTO select_final SELECT toDate('2000-01-01'), number, '' FROM numbers(500000);
OPTIMIZE TABLE select_final FINAL;
SET remote_filesystem_read_method = 'read';
SET local_filesystem_read_method = 'pread';
set load_marks_asynchronously = 0;
SELECT max(x) FROM select_final FINAL;
SYSTEM FLUSH LOGS;
SELECT length(thread_ids) FROM system.query_log WHERE query='SELECT max(x) FROM select_final FINAL;' AND type='QueryFinish' AND current_database = currentDatabase() ORDER BY event_time DESC LIMIT 1;
DROP TABLE select_final;