File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ def setup_tpcds(config):
51
51
def run_tpcds (config ):
52
52
"""TPC-DS stress test"""
53
53
54
+ TPC_DS_EXCLUDE_LIST = [] # actual numbers of TPC-DS tests to exclude
55
+ TPC_DS_STATEMENT_TIMEOUT = 20000 # statement_timeout in ms
56
+
54
57
print ('Preparing TPC-DS queries...' )
55
58
queries = []
56
59
for query_file in sorted (os .listdir ('tmp_stress/tpcds-result-reproduction/query_qualification/' )):
@@ -61,7 +64,6 @@ def run_tpcds(config):
61
64
pid = acon .get_backend_pid ()
62
65
63
66
print ('Starting TPC-DS queries...' )
64
- TPC_DS_EXCLUDE_LIST = [] # actual numbers of TPC-DS tests to exclude
65
67
timeout_list = []
66
68
bar = progressbar .ProgressBar (max_value = len (queries ))
67
69
for i , query in enumerate (queries ):
@@ -70,7 +72,6 @@ def run_tpcds(config):
70
72
continue
71
73
try :
72
74
# Set query timeout to TPC_DS_STATEMENT_TIMEOUT / 1000 seconds
73
- TPC_DS_STATEMENT_TIMEOUT = 20000
74
75
common .set_guc (acon , 'statement_timeout' , TPC_DS_STATEMENT_TIMEOUT )
75
76
76
77
# run query
You can’t perform that action at this time.
0 commit comments