Riza Suminto has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20794


Change subject: IMPALA-12630: Deflake TestOrcStats.test_orc_stats
......................................................................

IMPALA-12630: Deflake TestOrcStats.test_orc_stats

After revert of IMPALA-9923 (b03e8ef95c856f499d17ea7815831e30e2e9f467),
TestOrcStats.test_orc_stats becomes flaky in the following test case:

select count(*) from tpch_orc_def.lineitem where l_orderkey = 1609411;

This is because tpch_orc_def.lineitem sometimes loaded as 1 ORC file in
one run, and loaded in as 4 ORC files in the other run (see JIRA
comments for more analysis).

This patch attempts to deflake the test by changing the test case to
count over orders table instead. orders table is not as large as
lineitem table, but more consistently written as 1 ORC file with more
than 1 stripe.

Testing:
- Pass TestOrcStats.test_orc_stats after reloading tpch workload.

Change-Id: Ibb7bb25b44878df3e037e750a985656ed6857a7d
---
M testdata/workloads/functional-query/queries/QueryTest/orc-stats.test
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/94/20794/1
--
To view, visit http://gerrit.cloudera.org:8080/20794
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb7bb25b44878df3e037e750a985656ed6857a7d
Gerrit-Change-Number: 20794
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <[email protected]>

Reply via email to