Aman Sinha has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24608 )

Change subject: IMPALA-15175: Support HBO for AnalyticEvalNode cardinality
......................................................................


Patch Set 13: Code-Review+2

(1 comment)

> Patch Set 13:
>
> (1 comment)
>
> Changed the patch to not storing/reading cardinality of AnalyticEvalNode 
> since it's cardinality can be trivially deduced by the input cardinality. 
> AnalyticEvalNode is still used in the HBO key string for other node types.

This simplifies the reasoning about the AnalyticEval's cardinality.

Latest updates LGTM. Carrying forward Aleksandr's and Steve's +1 and adding my 
+2.

http://gerrit.cloudera.org:8080/#/c/24608/6/fe/src/main/java/org/apache/impala/planner/AnalyticEvalNode.java
File fe/src/main/java/org/apache/impala/planner/AnalyticEvalNode.java:

http://gerrit.cloudera.org:8080/#/c/24608/6/fe/src/main/java/org/apache/impala/planner/AnalyticEvalNode.java@383
PS6, Line 383:     StringBuilder output = new StringBuilder();
> > Will this work for empty partition-by ? for instance rank() over (order b
>> This is something we can optimize. Currently the order matters.
I see.. I hadn't considered the relative ordering of the AnalyticEvalNodes 
themselves.
Thanks for filing the 2 follow-up improvements.



--
To view, visit http://gerrit.cloudera.org:8080/24608
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I8d87ab472db9273622f48fa62bb1d8c12e04e86b
Gerrit-Change-Number: 24608
Gerrit-PatchSet: 13
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: Tue, 20 Oct 2026 14:53:13 +0000
Gerrit-HasComments: Yes

Reply via email to