[
https://issues.apache.org/jira/browse/CALCITE-6713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17902905#comment-17902905
]
xiong duan commented on CALCITE-6713:
-------------------------------------
Fixed in
[0a96bee|https://github.com/apache/calcite/commit/0a96bee8549020cb11d8c320f6c9c0e0581cbafb].
Thanks for the review [~mbudiu] and [~caicancai] .
> NVL2's return data type should be nullable if and only if at least one of the
> second and third parameters are nullable
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: CALCITE-6713
> URL: https://issues.apache.org/jira/browse/CALCITE-6713
> Project: Calcite
> Issue Type: Bug
> Reporter: xiong duan
> Priority: Major
> Labels: pull-request-available
>
> The Expression:
> {code:java}
> nvl2(NULL, 'abc', NULL); {code}
> should return null with a nullable type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)