Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24612 )

Change subject: IMPALA-15179: Support HBO for SelectNode cardinality
......................................................................


Patch Set 12:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24612/3/fe/src/main/java/org/apache/impala/planner/SelectNode.java
File fe/src/main/java/org/apache/impala/planner/SelectNode.java:

http://gerrit.cloudera.org:8080/#/c/24612/3/fe/src/main/java/org/apache/impala/planner/SelectNode.java@167
PS3, Line 167:     // The conjuncts define this node.
> Not sure what your TODO is here.  Just to investigate?
Predicates on partition columns (e.g. year=2009) are not correctly 
canonicalized with IGNORE_PARTITION_CONSTANTS strategy here. I thought we won't 
have such predicates in the SelectNode so left this TODO.

Just found a case that we can't push the partition predicate down so it 
persists in the SelectNode:
https://github.com/apache/impala/blob/aca598ae253aaa9e098a36eca6cb84f051eef433/testdata/workloads/functional-planner/queries/PlannerTest/analytic-fns.test#L2267

PS12 fixes the canonicalization issue.



--
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: comment
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]>
Gerrit-Comment-Date: Thu, 22 Oct 2026 05:50:37 +0000
Gerrit-HasComments: Yes

Reply via email to