Impala Public Jenkins has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/20794
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M testdata/workloads/functional-query/queries/QueryTest/orc-stats.test
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

--
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: merged
Gerrit-Change-Id: Ibb7bb25b44878df3e037e750a985656ed6857a7d
Gerrit-Change-Number: 20794
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Norbert Luksa <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>

Reply via email to