Update test.py

This commit is contained in:
Alexander Tokmakov 2023-11-07 19:44:16 +01:00 committed by GitHub
parent 8fb594dd5e
commit fc1bd0efd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ def fill_node(node):
""" """
CREATE TABLE IF NOT EXISTS test(n UInt32) CREATE TABLE IF NOT EXISTS test(n UInt32)
ENGINE = ReplicatedMergeTree('/clickhouse/tables/test', '{replica}') ENGINE = ReplicatedMergeTree('/clickhouse/tables/test', '{replica}')
ORDER BY n PARTITION BY n % 10 SETTINGS cleanup_delay_period=1, max_cleanup_delay_period=3; ORDER BY n PARTITION BY n % 10 SETTINGS cleanup_delay_period=1, cleanup_delay_period_random_add=1, max_cleanup_delay_period=1;
""".format( """.format(
replica=node.name replica=node.name
) )