[
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)