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

Method add_test_dimensions

tests/query_test/test_exprs.py:294–304  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

add_constraintMethod · 0.80
add_test_dimensionsMethod · 0.45
get_valueMethod · 0.45

Tested by

no test coverage detected