Jay Narale created CALCITE-4875:
-----------------------------------
Summary: NVL Function Incorrectly changes nullability field of its
operands
Key: CALCITE-4875
URL: https://issues.apache.org/jira/browse/CALCITE-4875
Project: Calcite
Issue Type: Bug
Components: core
Reporter: Jay Narale
We rewrite the NVL function in
_org/apache/calcite/sql2rel/StandardConvertletTable.java:303_ , during the
rewrite we currently override the operands' nullability to be NOT NULL which is
not needed. This causes issues if that operand is pushdown , since the input of
that operand need not be not nullable whereas we forced that operand to be Not
nullable
--
This message was sent by Atlassian Jira
(v8.3.4#803005)