Impala Public Jenkins has submitted this change and it was merged. ( https://gerrit.cloudera.org/24612 )
Change subject: IMPALA-15179: Support HBO for SelectNode cardinality ...................................................................... IMPALA-15179: Support HBO for SelectNode cardinality Conjuncts that can't be pushed down are evaluated 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 Reviewed-on: https://gerrit.cloudera.org/24612 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- 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, 357 insertions(+), 6 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit https://gerrit.cloudera.org/24612 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I5804f9ebf9e06a4947ea3e11441c63e89c82e036 Gerrit-Change-Number: 24612 Gerrit-PatchSet: 17 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]>
