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);
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 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')))
Exemplo n.º 4
0
 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')))