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

Jesus Camacho Rodriguez resolved CALCITE-4499.
----------------------------------------------
    Fix Version/s: 1.28.0
       Resolution: Fixed

Fixed in 
[de48e55|https://github.com/apache/calcite/commit/de48e55783a140e6927f88a445d9cbdf2e7623b5].

> FilterJoinRule misses opportunity to push filter to semijoin input
> ------------------------------------------------------------------
>
>                 Key: CALCITE-4499
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4499
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.28.0
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> Consider the following plan:
> {code}
> LogicalProject(DNAME=[$1])
>   LogicalJoin(condition=[AND(=($0, $10), =($8, 100))], joinType=[semi])
>     LogicalTableScan(table=[[scott, DEPT]])
>     LogicalTableScan(table=[[scott, EMP]])
> {code}
> The second conjunct only refers to columns from the right input, thus it 
> could be pushed to the right input. However, {{FilterJoinRule}} misses this 
> opportunity.



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

Reply via email to