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 3:

(1 comment)

https://gerrit.cloudera.org/#/c/25432/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/coercenodes/CoerceOperandShuttle.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/coercenodes/CoerceOperandShuttle.java:

https://gerrit.cloudera.org/#/c/25432/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/coercenodes/CoerceOperandShuttle.java@118
PS3, Line 118:     // AND and OR operands are not coerced below. But Calcite 
simplifications (e.g.
I think this is fine, but I'm curious if this problem is only for AND and OR or 
if there are other operators where we need to cast NULL operators, like XOR or 
other bitwise comparisons?



--
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: 3
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: Sun, 22 Nov 2026 01:39:29 +0000
Gerrit-HasComments: Yes

Reply via email to