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

Function add_exec_option_dimension

tests/common/test_dimensions.py:306–317  ·  view source on GitHub ↗

Takes an ImpalaTestSuite object 'test_suite' and register new exec option dimension. 'key' must be a query option known to Impala, and 'values' must be a list of more than one element. Exec option 'key' must not be declared before. If writing constraint against 'key', the value should be lo

(test_suite, key, values)

Source from the content-addressed store, hash-verified

304
305
306def add_exec_option_dimension(test_suite, key, values):
307 """
308 Takes an ImpalaTestSuite object 'test_suite' and register new exec option dimension.
309 'key' must be a query option known to Impala, and 'values' must be a list of more than
310 one element. Exec option 'key' must not be declared before.
311 If writing constraint against 'key', the value should be looked up at:
312 vector.get_value('key')
313 instead of:
314 vector.get_value('exec_option')['key']
315 """
316 test_suite.ImpalaTestMatrix.add_exec_option_dimension(
317 ImpalaTestDimension(key, *values))
318
319
320def add_mandatory_exec_option(test_suite, key, value):

Callers 15

add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90

Calls 2

ImpalaTestDimensionClass · 0.90

Tested by

no test coverage detected