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

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

> 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
>          Time Spent: 10m
>  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