mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Automatic style fix
This commit is contained in:
parent
08b6ec439e
commit
0c82926b95
@ -27,6 +27,7 @@ def cluster():
|
|||||||
finally:
|
finally:
|
||||||
cluster.shutdown()
|
cluster.shutdown()
|
||||||
|
|
||||||
|
|
||||||
def create_table(node, table, replica, data_prefix="", aggressive_merge=True):
|
def create_table(node, table, replica, data_prefix="", aggressive_merge=True):
|
||||||
if data_prefix == "":
|
if data_prefix == "":
|
||||||
data_prefix = table
|
data_prefix = table
|
||||||
@ -34,11 +35,11 @@ def create_table(node, table, replica, data_prefix="", aggressive_merge=True):
|
|||||||
if aggressive_merge:
|
if aggressive_merge:
|
||||||
vertical_merge_algorithm_min_rows_to_activate = 1
|
vertical_merge_algorithm_min_rows_to_activate = 1
|
||||||
vertical_merge_algorithm_min_columns_to_activate = 1
|
vertical_merge_algorithm_min_columns_to_activate = 1
|
||||||
max_parts_to_merge_at_once=3
|
max_parts_to_merge_at_once = 3
|
||||||
else:
|
else:
|
||||||
vertical_merge_algorithm_min_rows_to_activate = 100000
|
vertical_merge_algorithm_min_rows_to_activate = 100000
|
||||||
vertical_merge_algorithm_min_columns_to_activate = 100
|
vertical_merge_algorithm_min_columns_to_activate = 100
|
||||||
max_parts_to_merge_at_once=3
|
max_parts_to_merge_at_once = 3
|
||||||
|
|
||||||
node.query(
|
node.query(
|
||||||
f"""
|
f"""
|
||||||
|
Loading…
Reference in New Issue
Block a user