mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 18:20:50 +00:00
fix syntax error
This commit is contained in:
parent
5600af3391
commit
c42d8a4c23
@ -12,8 +12,7 @@ CLICKHOUSE_DATABASE = os.environ["CLICKHOUSE_DATABASE"]
|
||||
|
||||
def initialize_database(nodes, shard):
|
||||
for node in nodes:
|
||||
node.query((
|
||||
f'''
|
||||
node.query(f'''
|
||||
CREATE DATABASE {CLICKHOUSE_DATABASE};
|
||||
CREATE TABLE src (p UInt64, d UInt64)
|
||||
ENGINE = ReplicatedMergeTree('/clickhouse/{CLICKHOUSE_DATABASE}/tables/test{shard}/replicated', '{replica}')
|
||||
|
Loading…
Reference in New Issue
Block a user