[
https://issues.apache.org/jira/browse/CALCITE-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046959#comment-18046959
]
Zhen Chen edited comment on CALCITE-3128 at 12/22/25 12:53 AM:
---------------------------------------------------------------
Fixed via CALCITE-2973, CALCITE-3284
Thanks for review [~mbudiu] [~rubenql]
Added tests in
[{{6db44aa}}|https://github.com/apache/calcite/commit/6db44aa583699af7d08a9e70e451171142f19a78]
to confirm that the current Jira is resolved.
was (Author: jensen):
Fixed via CALCITE-2973, CALCITE-3284
Added tests in
[{{6db44aa}}|https://github.com/apache/calcite/commit/6db44aa583699af7d08a9e70e451171142f19a78]
to confirm that the current Jira is resolved.
> Joining two tables producing only NULLs will return 0 rows
> ----------------------------------------------------------
>
> Key: CALCITE-3128
> URL: https://issues.apache.org/jira/browse/CALCITE-3128
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.20.0
> Reporter: Mohamed Mohsen
> Assignee: Zhen Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.42.0
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> The following queries will return 0 rows while they're expected to ruturn
> rows with NULLs in them.
> {code:sql}
> SELECT *
> FROM (SELECT NULLIF(5, 5)) a, (SELECT NULLIF(5, 5)) b
> {code}
> {code:sql}
> SELECT *
> FROM (VALUES (NULLIF(5, 5)), (NULLIF(5, 5))) a, (VALUES (NULLIF(5, 5)),
> (NULLIF(5, 5))) b
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)