(cls)
| 35 | class TestExprs(ImpalaTestSuite): |
| 36 | @classmethod |
| 37 | def add_test_dimensions(cls): |
| 38 | super(TestExprs, cls).add_test_dimensions() |
| 39 | # Test with and without expr rewrites to cover regular expr evaluations |
| 40 | # as well as constant folding, in particular, timestamp literals. |
| 41 | add_exec_option_dimension(cls, 'enable_expr_rewrites', EXPR_REWRITE_OPTIONS) |
| 42 | if cls.exploration_strategy() == 'core': |
| 43 | # Test with file format that supports codegen |
| 44 | cls.ImpalaTestMatrix.add_constraint(lambda v: |
| 45 | v.get_value('table_format').file_format == 'parquet' |
| 46 | and v.get_value('table_format').compression_codec == 'none') |
| 47 | |
| 48 | def test_exprs(self, vector): |
| 49 | # Remove 'exec_single_node_rows_threshold' option so we can set it at .test file. |
no test coverage detected