From d158b187035a90b2f0296098a5be90a78649d360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Mar=C3=ADn?= Date: Fri, 31 Mar 2023 14:23:30 +0200 Subject: [PATCH 1/2] Randomize allow_vertical_merges_from_compact_to_wide_parts in tests --- tests/clickhouse-test | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/clickhouse-test b/tests/clickhouse-test index a355c2f8e73..b95d0e60aee 100755 --- a/tests/clickhouse-test +++ b/tests/clickhouse-test @@ -582,6 +582,7 @@ class MergeTreeSettingsRandomizer: "vertical_merge_algorithm_min_columns_to_activate": threshold_generator( 0.4, 0.4, 1, 100 ), + "allow_vertical_merges_from_compact_to_wide_parts": lambda: random.randint(0, 1), "min_merge_bytes_to_use_direct_io": threshold_generator( 0.25, 0.25, 1, 10 * 1024 * 1024 * 1024 ), From 84c30f2f632977a55b0a10b3adbb2ace37565cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Mar=C3=ADn?= Date: Fri, 31 Mar 2023 14:49:53 +0200 Subject: [PATCH 2/2] I've got no style --- tests/clickhouse-test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/clickhouse-test b/tests/clickhouse-test index b95d0e60aee..42676d900a5 100755 --- a/tests/clickhouse-test +++ b/tests/clickhouse-test @@ -582,7 +582,9 @@ class MergeTreeSettingsRandomizer: "vertical_merge_algorithm_min_columns_to_activate": threshold_generator( 0.4, 0.4, 1, 100 ), - "allow_vertical_merges_from_compact_to_wide_parts": lambda: random.randint(0, 1), + "allow_vertical_merges_from_compact_to_wide_parts": lambda: random.randint( + 0, 1 + ), "min_merge_bytes_to_use_direct_io": threshold_generator( 0.25, 0.25, 1, 10 * 1024 * 1024 * 1024 ),