Enable tpch queries to run on text to unblock the full data load build.

Some planner tests depend on data being populated in the tpch tmp tables (in text format)
. This change re-enables the tpch query tests to run on text so that they pass.

Change-Id: I4ed09f55e05cb01978cb6f0808c6395552c0f129
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3176
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>
Tested-by: Ishaan Joshi <ishaan@cloudera.com>
This commit is contained in:
ishaan
2014-06-19 15:47:36 -07:00
committed by Ishaan Joshi
parent 778fba232c
commit dc3dc3dc1e

View File

@@ -21,7 +21,7 @@ class TestTpchQuery(ImpalaTestSuite):
# execute over
if cls.exploration_strategy() == 'core':
cls.TestMatrix.add_constraint(lambda v:\
v.get_value('table_format').file_format == 'parquet')
v.get_value('table_format').file_format in ['parquet', 'text'])
def test_tpch_q1(self, vector):
self.run_test_case('tpch-q1', vector)