[ 
https://issues.apache.org/jira/browse/CALCITE-7817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu resolved CALCITE-7817.
----------------------------------
    Fix Version/s: 1.43.0
         Assignee: Bruno Volpato
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/e85bb9242f22be4d788972bf54b22bec666e9b40]

Thank you for the contribution [[email protected]] 

Thank you to the reviewers: [~rubenql] [~julianhyde] [~vlsi] 

> Enumerable merge ANTI join drops left rows with NULL keys
> ---------------------------------------------------------
>
>                 Key: CALCITE-7817
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7817
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Bruno Volpato
>            Assignee: Bruno Volpato
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.43.0
>
>
> With ascending, NULLS LAST inputs, an equality ANTI join of left `[1, 2, 
> NULL]` and right `[1]` returns `[2]`. The `NULL` key does not match under 
> strict equality, so the result should be `[2, NULL]`.
> The enumerable merge join stops processing left rows when it reaches a NULL 
> join key. The ANTI path should preserve those rows across all merge-join 
> advancement paths.
> Fix and regression tests: https://github.com/apache/calcite/pull/5242



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to