We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentc1776bc commit8545705Copy full SHA for 8545705
tests/tpcds.py
@@ -51,6 +51,9 @@ def setup_tpcds(config):
51
defrun_tpcds(config):
52
"""TPC-DS stress test"""
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
+
57
print('Preparing TPC-DS queries...')
58
queries= []
59
forquery_fileinsorted(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...')
-TPC_DS_EXCLUDE_LIST= []# actual numbers of TPC-DS tests to exclude
67
timeout_list= []
68
bar=progressbar.ProgressBar(max_value=len(queries))
69
fori,queryinenumerate(queries):
@@ -70,7 +72,6 @@ def run_tpcds(config):
70
72
continue
71
73
try:
74
# Set query timeout to TPC_DS_STATEMENT_TIMEOUT / 1000 seconds
-TPC_DS_STATEMENT_TIMEOUT=20000
75
common.set_guc(acon,'statement_timeout',TPC_DS_STATEMENT_TIMEOUT)
76
77
# run query