Hello Arnab Karmakar,

I'd like you to do a code review. Please visit

    http://gerrit.cloudera.org:8080/25015

to review the following change.


Change subject: IMPALA-15478: Use actual file count in HBO test
......................................................................

IMPALA-15478: Use actual file count in HBO test

The count-star HBO test expects scan cardinality 2 from the standard
Parquet orders fixture. The reported erasure-coding run has one
file, so its optimized count(*) scan correctly reports cardinality 1.

Read the file count with SHOW FILES and substitute it in the expected
count-star scan plan. Keep the aggregate and ordinary scan estimates,
HBO annotations and exact cardinality-line comparison unchanged.
Other HBO test cases continue to use their existing golden plans.

Testing:
- Reproduced the original failure with one file and success with two.
- Passed five repeated runs for each layout and two nearby HBO cases.
- Removing the COUNT_STAR key marker makes the ordinary scan check fail.

Change-Id: I0df5a56a0e866529e9a2b087ad755377cdeb370f
---
M testdata/workloads/functional-query/queries/QueryTest/hbo-count-star-scan.test
M tests/query_test/test_hbo.py
2 files changed, 13 insertions(+), 7 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0df5a56a0e866529e9a2b087ad755377cdeb370f
Gerrit-Change-Number: 25015
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>

Reply via email to