Hello Aman Sinha, Aleksandr Efimov, Steve Carlin, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24612
to look at the new patch set (#12).
Change subject: IMPALA-15179: Support HBO for SelectNode cardinality
......................................................................
IMPALA-15179: Support HBO for SelectNode cardinality
Conjuncts that can't be pushed down are evaludated in a SelectNode. This
adds support for tracking SelectNode cardinalities in HBO.
The HBO key string of a SelectNode consists of the LIMIT and the
canonicalized conjuncts and the child's HBO key string.
To canonicalize conjuncts on partition columns that persist in the
SelectNode, this patch fixes ExprCanonicalizer.resolveSingleTable() and
FeTable.referencesPartitionColumn() to trace slots to their base scan
slots.
Testing
- Added FE and e2e tests
Change-Id: I5804f9ebf9e06a4947ea3e11441c63e89c82e036
---
M fe/src/main/java/org/apache/impala/catalog/FeTable.java
M fe/src/main/java/org/apache/impala/planner/ExprCanonicalizer.java
M fe/src/main/java/org/apache/impala/planner/SelectNode.java
M fe/src/test/java/org/apache/impala/planner/HboKeyStringTest.java
M testdata/workloads/functional-query/queries/QueryTest/hbo-analytic-topn.test
A testdata/workloads/functional-query/queries/QueryTest/hbo-select.test
M tests/query_test/test_hbo.py
7 files changed, 359 insertions(+), 6 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/12/24612/12
--
To view, visit http://gerrit.cloudera.org:8080/24612
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5804f9ebf9e06a4947ea3e11441c63e89c82e036
Gerrit-Change-Number: 24612
Gerrit-PatchSet: 12
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>