Fix modulo division priority issue in test/stress/stress

This commit is contained in:
vdimir 2021-06-11 13:08:49 +03:00
parent bf9df90296
commit e24ee509a4
No known key found for this signature in database
GPG Key ID: F57B3E10A21DBB31

View File

@ -37,10 +37,10 @@ def get_options(i):
if i % 7 == 0: if i % 7 == 0:
options.append(" --client-option='join_use_nulls=1'") options.append(" --client-option='join_use_nulls=1'")
if i % 2 * 7 == 0: if i % 14 == 0:
options.append(' --client-option="join_algorithm=\'partial_merge\'"') options.append(' --client-option="join_algorithm=\'partial_merge\'"')
if i % 3 * 7 == 0: if i % 21 == 0:
options.append(' --client-option="join_algorithm=\'auto\'"') options.append(' --client-option="join_algorithm=\'auto\'"')
options.append(' --client-option="max_rows_in_join=1000"') options.append(' --client-option="max_rows_in_join=1000"')