Compare commits

...

2 Commits

Author SHA1 Message Date
Vladimir Cherkasov
32d32417b5
Merge c9e674a01e into 40c7d5fd1a 2024-11-20 15:47:35 -05:00
vdimir
c9e674a01e
Add missing settings to randomization 2024-11-20 16:30:26 +00:00

View File

@ -809,6 +809,7 @@ class SettingsRandomizer:
"prefer_localhost_replica": lambda: random.randint(0, 1), "prefer_localhost_replica": lambda: random.randint(0, 1),
"max_block_size": lambda: random.randint(8000, 100000), "max_block_size": lambda: random.randint(8000, 100000),
"max_joined_block_size_rows": lambda: random.randint(8000, 100000), "max_joined_block_size_rows": lambda: random.randint(8000, 100000),
"min_joined_block_size_bytes": lambda: random.randint(524288 // 2, 4 * 524288),
"max_threads": lambda: 32 if random.random() < 0.03 else random.randint(1, 3), "max_threads": lambda: 32 if random.random() < 0.03 else random.randint(1, 3),
"optimize_append_index": lambda: random.randint(0, 1), "optimize_append_index": lambda: random.randint(0, 1),
"optimize_if_chain_to_multiif": lambda: random.randint(0, 1), "optimize_if_chain_to_multiif": lambda: random.randint(0, 1),
@ -921,6 +922,14 @@ class SettingsRandomizer:
"parallel_replicas_local_plan": lambda: random.randint(0, 1), "parallel_replicas_local_plan": lambda: random.randint(0, 1),
"output_format_native_write_json_as_string": lambda: random.randint(0, 1), "output_format_native_write_json_as_string": lambda: random.randint(0, 1),
"enable_vertical_final": lambda: random.randint(0, 1), "enable_vertical_final": lambda: random.randint(0, 1),
"grace_hash_join_initial_buckets": lambda: random.randint(1, 16),
"grace_hash_join_max_buckets": lambda: 1024 * random.randint(0, 4),
"join_to_sort_minimum_perkey_rows": lambda: random.randint(1, 100),
"join_to_sort_maximum_table_rows": lambda: random.randint(1000, 100000),
"allow_experimental_join_right_table_sorting": lambda: True,
"allow_experimental_join_condition": lambda: True,
"join_output_by_rowlist_perkey_rows_threshold": lambda: random.randint(0, 10),
"max_rows_in_set_to_optimize_join": lambda: random.randint(0, 100),
} }
@staticmethod @staticmethod