You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/02 13:18:00 UTC

[jira] [Updated] (CALCITE-3837) AntiJoin with empty right input can always be transformed as its left input

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

ASF GitHub Bot updated CALCITE-3837:
------------------------------------
    Labels: pull-request-available  (was: )

> AntiJoin with empty right input can always be transformed as its left input
> ---------------------------------------------------------------------------
>
>                 Key: CALCITE-3837
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3837
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.22.0
>            Reporter: Ruben Q L
>            Assignee: Ruben Q L
>            Priority: Minor
>              Labels: pull-request-available
>
> CALCITE-3783 fixed {{PruneEmptyRules#JOIN_RIGHT_INSTANCE}} for join type ANTI:
> {code}
> Join(Scan(Emp), Empty, ANTI) becomes Scan(Emp)
> {code}
> However, it performs this transformation only in case of anti equi-join (in case of non-equi, no transformation is made).
> Re-considering this, I believe this is a mistake, and the transformation can always be performed, independently of the join condition (equi / non-equi, it does not matter).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)