mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
tests: Use total_bytes>0 for Distributed engine in 00753_system_columns_and_system_tables
This commit is contained in:
parent
70049db143
commit
3102835d56
@ -47,5 +47,5 @@ Check total_bytes/total_rows for Join
|
||||
10240 100
|
||||
Check total_bytes/total_rows for Distributed
|
||||
0 \N
|
||||
581 \N
|
||||
1 \N
|
||||
0 \N
|
||||
|
@ -133,7 +133,7 @@ CREATE TABLE check_system_tables AS check_system_tables_null Engine=Distributed(
|
||||
SYSTEM STOP DISTRIBUTED SENDS check_system_tables;
|
||||
SELECT total_bytes, total_rows FROM system.tables WHERE name = 'check_system_tables';
|
||||
INSERT INTO check_system_tables SELECT * FROM numbers(1) SETTINGS prefer_localhost_replica=0;
|
||||
SELECT total_bytes, total_rows FROM system.tables WHERE name = 'check_system_tables';
|
||||
SELECT total_bytes>0, total_rows FROM system.tables WHERE name = 'check_system_tables';
|
||||
SYSTEM FLUSH DISTRIBUTED check_system_tables;
|
||||
SELECT total_bytes, total_rows FROM system.tables WHERE name = 'check_system_tables';
|
||||
DROP TABLE check_system_tables_null;
|
||||
|
Loading…
Reference in New Issue
Block a user