Steve Carlin has posted comments on this change. ( 
https://gerrit.cloudera.org/25432 )

Change subject: IMPALA-15399: Fix NULL result type for NULL operands in Calcite
......................................................................


Patch Set 2:

(1 comment)

https://gerrit.cloudera.org/#/c/25432/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaConvertletTable.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaConvertletTable.java:

https://gerrit.cloudera.org/#/c/25432/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaConvertletTable.java@180
PS2, Line 180:     for (int i = 0; i < operands.size(); ++i) {
I don't want to say this is the case all of the time, but most if not all of 
the logic to coerce the operands to the right type is in CoerceOperandShuttle

Is there any way we can get this logic in there and keep that code fairly 
clean?  If not, then we can leave it in here, but I'd like to explore that at 
least, since that's a more general solution rather than just fixing the "OR" 
operator.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If8ac369da47fd63988569780c2315caebdab957c
Gerrit-Change-Number: 25432
Gerrit-PatchSet: 2
Gerrit-Owner: Wellington Cabrera <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Reviewer: Wellington Cabrera (968)
Gerrit-Comment-Date: Tue, 17 Nov 2026 14:17:33 +0000
Gerrit-HasComments: Yes

Reply via email to