From b0c0ec370d27cf04a82f32cb3b82022689080ab5 Mon Sep 17 00:00:00 2001 From: vdimir Date: Wed, 25 May 2022 16:14:18 +0000 Subject: [PATCH] Add join_algorithm='full_sorting_merge' to stress tests --- docker/test/stress/stress | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/docker/test/stress/stress b/docker/test/stress/stress index e195f81b551..ab25d13695b 100755 --- a/docker/test/stress/stress +++ b/docker/test/stress/stress @@ -28,18 +28,20 @@ def get_options(i, backward_compatibility_check): if i % 2 == 1: options.append(" --database=test_{}".format(i)) - if i % 5 == 1: + if i % 3 == 1: client_options.append("join_use_nulls=1") - if i % 15 == 1: - client_options.append("join_algorithm='parallel_hash'") - - if i % 15 == 6: - client_options.append("join_algorithm='partial_merge'") - - if i % 15 == 11: - client_options.append("join_algorithm='auto'") - client_options.append("max_rows_in_join=1000") + if i % 2 == 1: + join_alg_num = i // 2 + if join_alg_num % 4 == 0: + client_options.append("join_algorithm='parallel_hash'") + if join_alg_num % 4 == 1: + client_options.append("join_algorithm='partial_merge'") + if join_alg_num % 4 == 2: + client_options.append("join_algorithm='full_sorting_merge'") + if join_alg_num % 4 == 3: + client_options.append("join_algorithm='auto'") + client_options.append('max_rows_in_join=1000') if i == 13: client_options.append("memory_tracker_fault_probability=0.001")