(cls)
| 292 | |
| 293 | @classmethod |
| 294 | def add_test_dimensions(cls): |
| 295 | super(TestTimestampFunctions, cls).add_test_dimensions() |
| 296 | # Test with and without expr rewrites to cover regular expr evaluations |
| 297 | # as well as constant folding, in particular, timestamp literals. |
| 298 | add_exec_option_dimension(cls, 'enable_expr_rewrites', EXPR_REWRITE_OPTIONS) |
| 299 | add_exec_option_dimension(cls, 'use_local_tz_for_unix_timestamp_conversions', |
| 300 | [0, 1]) |
| 301 | # No need to permute different file format. |
| 302 | cls.ImpalaTestMatrix.add_constraint(lambda v: |
| 303 | v.get_value('table_format').file_format == 'text' |
| 304 | and v.get_value('table_format').compression_codec == 'none') |
| 305 | |
| 306 | def test_utc_functions(self, vector): |
| 307 | """Tests for UTC timestamp functions, i.e. functions that do not depend on the |
nothing calls this directly
no test coverage detected