Disable grace hash join in upgrade check (#47474)

* Update stress.py

* Update stress.py

* Update stress.py
This commit is contained in:
Alexander Tokmakov 2023-03-11 19:06:07 +03:00 committed by GitHub
parent f085f96de5
commit 6724bfdf38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,8 @@ def get_options(i, upgrade_check):
client_options.append("join_algorithm='partial_merge'")
if join_alg_num % 5 == 2:
client_options.append("join_algorithm='full_sorting_merge'")
if join_alg_num % 5 == 3:
if join_alg_num % 5 == 3 and not upgrade_check:
# Some crashes are not fixed in 23.2 yet, so ignore the setting in Upgrade check
client_options.append("join_algorithm='grace_hash'")
if join_alg_num % 5 == 4:
client_options.append("join_algorithm='auto'")