Michael Smith has posted comments on this change. ( 
https://gerrit.cloudera.org/24268 )

Change subject: IMPALA-14910: Calcite planner: support expressions in limit 
clause
......................................................................


Patch Set 9:

(1 comment)

https://gerrit.cloudera.org/#/c/24268/8/java/calcite-planner/src/main/java/org/apache/impala/calcite/coercenodes/CoerceNodes.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/coercenodes/CoerceNodes.java:

https://gerrit.cloudera.org/#/c/24268/8/java/calcite-planner/src/main/java/org/apache/impala/calcite/coercenodes/CoerceNodes.java@226
PS8, Line 226:       if (changedList != null) {
> I'm not sure if this is what you mean, but we do need to check that newFetc
The logic I don't like is that we set isInputChanged=true if sort.fetch is a 
RexCall, but if changedList is null then the input hasn't actually changed. 
However I think a RexCall will always result in a non-null changedList.



--
To view, visit https://gerrit.cloudera.org/24268
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic01a0144671485156654e7685d0d5816fa743f9d
Gerrit-Change-Number: 24268
Gerrit-PatchSet: 9
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Comment-Date: Tue, 03 Nov 2026 19:22:47 +0000
Gerrit-HasComments: Yes

Reply via email to