Update 01181_db_atomic_drop_on_cluster.sql

This commit is contained in:
tavplubix 2021-04-13 18:17:43 +03:00 committed by GitHub
parent 0739dde734
commit 35c9619444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,4 @@
DROP TABLE IF EXISTS test_repl ON CLUSTER test_shard_localhost SYNC; DROP TABLE IF EXISTS test_repl ON CLUSTER test_shard_localhost SYNC;
CREATE TABLE test_repl ON CLUSTER test_shard_localhost (n UInt64) ENGINE ReplicatedMergeTree('/clickhouse/test_01181/{database}/test_repl','r1') ORDER BY tuple(); CREATE TABLE test_repl ON CLUSTER test_shard_localhost (n UInt64) ENGINE ReplicatedMergeTree('/clickhouse/test_01181/{database}/test_repl','r1') ORDER BY tuple();
DETACH TABLE test_repl ON CLUSTER test_shard_localhost SYNC; DETACH TABLE test_repl ON CLUSTER test_shard_localhost SYNC;
ATTACH TABLE test_repl ON CLUSTER test_shard_localhost; ATTACH TABLE test_repl ON CLUSTER test_shard_localhost;