def add_test_dimensions(cls): super(TestTpcdsInsert, cls).add_test_dimensions() cls.TestMatrix.add_dimension(create_single_exec_option_dimension()) cls.TestMatrix.add_constraint(lambda v:\ is_supported_insert_format(v.get_value('table_format'))) if cls.exploration_strategy() == 'core' and not pytest.config.option.table_formats: # Don't run on core, unless the user explicitly wants to validate a specific table # format. Each test vector takes > 30s to complete and it doesn't add much # additional coverage on top of what's in the functional insert test suite cls.TestMatrix.add_constraint(lambda v: False);
def add_test_dimensions(cls): super(TestTpcdsInsert, cls).add_test_dimensions() cls.TestMatrix.add_dimension(create_single_exec_option_dimension()) cls.TestMatrix.add_constraint(lambda v:\ is_supported_insert_format(v.get_value('table_format'))) if cls.exploration_strategy( ) == 'core' and not pytest.config.option.table_formats: # Don't run on core, unless the user explicitly wants to validate a specific table # format. Each test vector takes > 30s to complete and it doesn't add much # additional coverage on top of what's in the functional insert test suite cls.TestMatrix.add_constraint(lambda v: False)
def add_test_dimensions(cls): super(TestTpcdsInsert, cls).add_test_dimensions() cls.ImpalaTestMatrix.add_dimension(create_single_exec_option_dimension()) cls.ImpalaTestMatrix.add_constraint(lambda v: is_supported_insert_format(v.get_value('table_format')))
def add_test_dimensions(cls): super(TestTpcdsInsert, cls).add_test_dimensions() cls.ImpalaTestMatrix.add_dimension(create_single_exec_option_dimension()) cls.ImpalaTestMatrix.add_constraint(lambda v: is_supported_insert_format(v.get_value('table_format')))