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

Method add_test_dimensions

tests/query_test/test_codegen.py:28–36  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

26class TestCodegen(ImpalaTestSuite):
27 @classmethod
28 def add_test_dimensions(cls):
29 super(TestCodegen, cls).add_test_dimensions()
30 cls.ImpalaTestMatrix.add_dimension(create_exec_option_dimension_from_dict({
31 'exec_single_node_rows_threshold' : [0]}))
32 # No need to run this on all file formats. Run it on text/none, which has stats
33 # computed.
34 cls.ImpalaTestMatrix.add_constraint(
35 lambda v: v.get_value('table_format').file_format == 'text' and
36 v.get_value('table_format').compression_codec == 'none')
37
38 def test_disable_codegen(self, vector):
39 """Test that codegen is enabled/disabled by the planner as expected."""

Callers

nothing calls this directly

Calls 4

add_dimensionMethod · 0.80
add_constraintMethod · 0.80
get_valueMethod · 0.45

Tested by

no test coverage detected