mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Fix 00753_distributed_system_columns_and_system_tables flakiness
This commit is contained in:
parent
6965ac26c3
commit
9a4f469a38
@ -2,10 +2,10 @@ SELECT 'Check total_bytes/total_rows for Distributed';
|
||||
CREATE TABLE check_system_tables_null (key Int) Engine=Null();
|
||||
CREATE TABLE check_system_tables AS check_system_tables_null Engine=Distributed(test_shard_localhost, currentDatabase(), check_system_tables_null);
|
||||
SYSTEM STOP DISTRIBUTED SENDS check_system_tables;
|
||||
SELECT total_bytes, total_rows FROM system.tables WHERE name = 'check_system_tables';
|
||||
SELECT total_bytes, total_rows FROM system.tables WHERE database = currentDatabase() AND name = 'check_system_tables';
|
||||
INSERT INTO check_system_tables SELECT * FROM numbers(1) SETTINGS prefer_localhost_replica=0;
|
||||
SELECT total_bytes>0, total_rows FROM system.tables WHERE name = 'check_system_tables';
|
||||
SELECT total_bytes>0, total_rows FROM system.tables WHERE database = currentDatabase() AND name = 'check_system_tables';
|
||||
SYSTEM FLUSH DISTRIBUTED check_system_tables;
|
||||
SELECT total_bytes, total_rows FROM system.tables WHERE name = 'check_system_tables';
|
||||
SELECT total_bytes, total_rows FROM system.tables WHERE database = currentDatabase() AND name = 'check_system_tables';
|
||||
DROP TABLE check_system_tables_null;
|
||||
DROP TABLE check_system_tables;
|
||||
|
Loading…
Reference in New Issue
Block a user