[
https://issues.apache.org/jira/browse/CALCITE-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409297#comment-17409297
]
duan xiong commented on CALCITE-4756:
-------------------------------------
I have converted the PR to draft. Beacuse the SQL is not valid. So I test this
issue again and update the issue description more accurately.
> When subquery include NULL value, Calcite should return the right result
> ------------------------------------------------------------------------
>
> Key: CALCITE-4756
> URL: https://issues.apache.org/jira/browse/CALCITE-4756
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.27.0
> Reporter: duan xiong
> Assignee: duan xiong
> Priority: Major
>
> When I try to design some unit tests for CALCITE-4742. I found Calcite can't
> handle NULL very well in some subquery.
> For example:
> {code:java}
> select 1 in (values(null),(null))
> select 1 > some(values(null),(null))
> {code}
> This SQL should return NULL. But throw the runtime exception.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)