Add join related options to stress test

This commit is contained in:
vdimir 2021-06-11 12:36:59 +03:00
parent a056fadefd
commit bf9df90296
No known key found for this signature in database
GPG Key ID: F57B3E10A21DBB31

View File

@ -34,6 +34,16 @@ def get_options(i):
if i % 2 == 1:
options.append(" --database=test_{}".format(i))
if i % 7 == 0:
options.append(" --client-option='join_use_nulls=1'")
if i % 2 * 7 == 0:
options.append(' --client-option="join_algorithm=\'partial_merge\'"')
if i % 3 * 7 == 0:
options.append(' --client-option="join_algorithm=\'auto\'"')
options.append(' --client-option="max_rows_in_join=1000"')
if i == 13:
options.append(" --client-option='memory_tracker_fault_probability=0.00001'")