mirror of
https://github.com/apache/impala.git
synced 2026-01-04 09:00:56 -05:00
Constrain test_explain to run only on text/none table format
The tests expect to be run against text/none tables which causes failures on exhaustive test runs. I don't think it adds any extra coverage to run these tests against lzo format so added a constraint. Change-Id: Ib0878e2ba84107c9df4499def304fe45ba4fe4b4 Reviewed-on: http://gerrit.ent.cloudera.com:8080/1884 Reviewed-by: Lenni Kuff <lskuff@cloudera.com> Tested-by: Lenni Kuff <lskuff@cloudera.com> Reviewed-on: http://gerrit.ent.cloudera.com:8080/1964 Tested-by: jenkins
This commit is contained in:
@@ -24,6 +24,7 @@ class TestExplain(ImpalaTestSuite):
|
||||
super(TestExplain, cls).add_test_dimensions()
|
||||
cls.TestMatrix.add_constraint(lambda v:\
|
||||
v.get_value('table_format').file_format == 'text' and\
|
||||
v.get_value('table_format').compression_codec == 'none' and\
|
||||
v.get_value('exec_option')['batch_size'] == 0 and\
|
||||
v.get_value('exec_option')['disable_codegen'] == False and\
|
||||
v.get_value('exec_option')['num_nodes'] != 1)
|
||||
|
||||
Reference in New Issue
Block a user