

SELECT value FROM system.zookeeper WHERE path = '/clickhouse/' || currentDatabase() || '/versioned_collapsing_table/s1' and name = 'metadata';

DETACH TABLE versioned_collapsing_table;
ATTACH TABLE versioned_collapsing_table;
