MCPcopy Create free account
hub / github.com/apache/impala / add_test_dimensions

Method add_test_dimensions

tests/query_test/test_tpch_queries.py:35–45  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

33
34 @classmethod
35 def add_test_dimensions(cls):
36 super(TestTpchQuery, cls).add_test_dimensions()
37 cls.ImpalaTestMatrix.add_dimension(create_single_exec_option_dimension())
38
39 # The tpch tests take a long time to execute so restrict the combinations they
40 # execute over.
41 # TODO: the planner tests are based on text and need this.
42 if cls.exploration_strategy() == 'core':
43 cls.ImpalaTestMatrix.add_constraint(lambda v:\
44 v.get_value('table_format').file_format in ['text', 'parquet', 'kudu', 'orc',
45 'json'])
46
47 def idfn(val):
48 return "TPC-H: Q{0}".format(val)

Callers 1

add_test_dimensionsMethod · 0.45

Calls 5

add_dimensionMethod · 0.80
exploration_strategyMethod · 0.80
add_constraintMethod · 0.80
get_valueMethod · 0.45

Tested by

no test coverage detected