mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fix format
This commit is contained in:
parent
b88fef12de
commit
f951ff2968
@ -116,12 +116,16 @@ def create_some_tables(db):
|
||||
node.query(
|
||||
"CREATE DICTIONARY {}.d1 (n int DEFAULT 0, m int DEFAULT 1) PRIMARY KEY n "
|
||||
"SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 USER 'default' TABLE 'rmt1' PASSWORD '' DB '{}')) "
|
||||
"LIFETIME(MIN 1 MAX 10) LAYOUT(FLAT()) SETTINGS(check_dictionary_primary_key = 0)".format(db, db)
|
||||
"LIFETIME(MIN 1 MAX 10) LAYOUT(FLAT()) SETTINGS(check_dictionary_primary_key = 0)".format(
|
||||
db, db
|
||||
)
|
||||
)
|
||||
node.query(
|
||||
"CREATE DICTIONARY {}.d2 (n int DEFAULT 0, m int DEFAULT 1) PRIMARY KEY n "
|
||||
"SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 USER 'default' TABLE 'rmt2' PASSWORD '' DB '{}')) "
|
||||
"LIFETIME(MIN 1 MAX 10) LAYOUT(FLAT()) SETTINGS(check_dictionary_primary_key = 0)".format(db, db)
|
||||
"LIFETIME(MIN 1 MAX 10) LAYOUT(FLAT()) SETTINGS(check_dictionary_primary_key = 0)".format(
|
||||
db, db
|
||||
)
|
||||
)
|
||||
node.query(
|
||||
"CREATE TABLE {}.merge (n int) ENGINE=Merge('{}', '(mt)|(mv)')".format(db, db)
|
||||
|
@ -10,7 +10,7 @@ node = cluster.add_instance(
|
||||
"configs/named_collections.xml",
|
||||
],
|
||||
user_configs=[
|
||||
"configs/disable_check_dictionary_primary_key.xml"
|
||||
"configs/disable_check_dictionary_primary_key.xml",
|
||||
],
|
||||
with_zookeeper=True,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user