Aleksandr Efimov has posted comments on this change. ( 
https://gerrit.cloudera.org/25389 )

Change subject: IMPALA-14910 (addendum): Fixed broken limit tests for Calcite
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.cloudera.org/#/c/25389/1/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaSqlValidatorImpl.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaSqlValidatorImpl.java:

https://gerrit.cloudera.org/#/c/25389/1/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaSqlValidatorImpl.java@237
PS1, Line 237:         setValidatedNodeType(select.getFetch(),
`LIMIT CAST('3' AS STRING)` gets stamped BIGINT here, which 
`convertExplicitCast()` then uses as the cast target. Could we preserve the 
declared type and add negative LIMIT/OFFSET tests for non-integer casts?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If49af06661ccfedb3055f37a96ba1b14e501ee0c
Gerrit-Change-Number: 25389
Gerrit-PatchSet: 1
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: Wellington Cabrera <[email protected]>
Gerrit-Comment-Date: Wed, 11 Nov 2026 19:41:43 +0000
Gerrit-HasComments: Yes

Reply via email to