Decouple QC enablement from 'join_use_nulls'

This commit is contained in:
Robert Schulze 2023-03-22 12:46:22 +00:00
parent b019ed90be
commit ea2d7e0035
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -6,6 +6,7 @@ import os
import argparse
import logging
import time
import random
def get_options(i, upgrade_check):
@ -43,7 +44,7 @@ def get_options(i, upgrade_check):
client_options.append("join_algorithm='auto'")
client_options.append("max_rows_in_join=1000")
if i % 3 == 1:
if i > 0 and random.random() < 1/3:
client_options.append("allow_experimental_query_cache=1")
client_options.append("use_query_cache=1")