mirror of
https://github.com/apache/impala.git
synced 2025-12-23 21:08:39 -05:00
Compute stats for tpch parquet tables while loading the data.
This patch removes the logic from the python test file, it should really live in the code that sets up the test-warehouse. Change-Id: Id04dc90c7ab813af2f347ec79e9e43d76de794a2 Reviewed-on: http://gerrit.cloudera.org:8080/224 Reviewed-by: Ippokratis Pandis <ipandis@cloudera.com> Tested-by: Internal Jenkins
This commit is contained in:
@@ -103,18 +103,6 @@ class TestTpchMemLimitError(ImpalaTestSuite):
|
||||
cls.TestMatrix.add_constraint(lambda v:\
|
||||
v.get_value('table_format').file_format in ['parquet'])
|
||||
|
||||
@classmethod
|
||||
def setup_class(cls):
|
||||
super(TestTpchMemLimitError, cls).setup_class()
|
||||
cls.client.execute('compute stats tpch_parquet.lineitem');
|
||||
cls.client.execute('compute stats tpch_parquet.orders');
|
||||
cls.client.execute('compute stats tpch_parquet.customer');
|
||||
cls.client.execute('compute stats tpch_parquet.part');
|
||||
cls.client.execute('compute stats tpch_parquet.supplier');
|
||||
cls.client.execute('compute stats tpch_parquet.partsupp');
|
||||
cls.client.execute('compute stats tpch_parquet.nation');
|
||||
cls.client.execute('compute stats tpch_parquet.region');
|
||||
|
||||
def low_memory_limit_test(self, vector, tpch_query, limit):
|
||||
mem = vector.get_value('mem_limit')
|
||||
# Mem consumption can be +-30MBs, depending on how many scanner threads are
|
||||
|
||||
Reference in New Issue
Block a user