Automatic style fix

This commit is contained in:
robot-clickhouse 2024-01-25 18:21:38 +00:00
parent 08b6ec439e
commit 0c82926b95

View File

@ -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"""