mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
add sync for on cluster ddl
This commit is contained in:
parent
a4a960328e
commit
51fcaa906c
@ -99,8 +99,8 @@ def create_distributed_table(node, table_name):
|
||||
|
||||
|
||||
def drop_distributed_table(node, table_name):
|
||||
node.query("DROP TABLE IF EXISTS {} ON CLUSTER test_cluster".format(table_name))
|
||||
node.query("DROP TABLE IF EXISTS {}_replicated ON CLUSTER test_cluster".format(table_name))
|
||||
node.query("DROP TABLE IF EXISTS {} ON CLUSTER test_cluster SYNC".format(table_name))
|
||||
node.query("DROP TABLE IF EXISTS {}_replicated ON CLUSTER test_cluster SYNC".format(table_name))
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user