Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24560


Change subject: IMPALA-15150: Adds missing sleep in 
test_runtime_filter_annotation_with_hbo_cardinality
......................................................................

IMPALA-15150: Adds missing sleep in 
test_runtime_filter_annotation_with_hbo_cardinality

HBO stats were written asychronously after the query finishes. The HBO
e2e tests are both in the following pattern:
 1. Run some queries that produce HBO stats.
 2. Sleep 1s to ensure the stats are written.
 3. Run EXPLAIN on test queries.

test_runtime_filter_annotation_with_hbo_cardinality is the only test
that misses the sleep. When the HBO stats of the build side is missing,
its cardinality is higher than the actual value. So the estimated
cardinality of the prode side scan after applying runtime filters (i.e.
filteredCardinality_) is higher than its cardinality from HBO stats and
the test fails.

Testing
 - Ran the test locally.

Change-Id: I8c0ccc9def6d14c276d2a23403b5eae7a09849c5
---
M tests/query_test/test_hbo.py
1 file changed, 2 insertions(+), 0 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8c0ccc9def6d14c276d2a23403b5eae7a09849c5
Gerrit-Change-Number: 24560
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to