(cls)
| 26 | class 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.""" |
nothing calls this directly
no test coverage detected