mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Fix bad test 01660_system_parts_smoke
This commit is contained in:
parent
298a223dbc
commit
15c648a615
@ -35,7 +35,7 @@ SELECT count(), _state FROM system.parts WHERE database = currentDatabase() AND
|
||||
-- Inactive parts are clearing by async process also
|
||||
SELECT '# truncate';
|
||||
TRUNCATE data_01660;
|
||||
SELECT if (count() > 0, 'HAVE PARTS', 'NO PARTS'), _state FROM system.parts WHERE database = currentDatabase() AND table = 'data_01660' GROUP BY _state;
|
||||
SELECT if (count() > 0, 'HAVE PARTS', 'NO PARTS'), _state FROM system.parts WHERE database = currentDatabase() AND table = 'data_01660' GROUP BY _state ORDER BY _state;
|
||||
|
||||
-- But DROP does
|
||||
SELECT '# drop';
|
||||
|
Loading…
Reference in New Issue
Block a user