Steve Carlin 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:

(2 comments)

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) {
> How would it error if there are no changes? Or can we Precondition that cha
I'm not sure if this is what you mean, but we do need to check that newFetch 
and newOffset are integer types if they exist, so I moved the throw outside of 
the if statement.


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

https://gerrit.cloudera.org/#/c/24268/8/java/calcite-planner/src/main/java/org/apache/impala/calcite/rules/ImpalaRexExecutor.java@72
PS8, Line 72:         reducer);
> `true` could be omitted and it would use the next constructor.
Done



--
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 14:44:41 +0000
Gerrit-HasComments: Yes

Reply via email to