mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
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:
commit
15c8727013
@ -6,4 +6,3 @@
|
||||
2020-01-01 00:00:00 2
|
||||
1
|
||||
499999
|
||||
18
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user