You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2020/05/13 07:24:00 UTC

[jira] [Assigned] (IGNITE-12915) Calcite integration: Add push filter to join rule to the planner

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

Andrey Mashenkov reassigned IGNITE-12915:
-----------------------------------------

    Assignee: Andrey Mashenkov

> Calcite integration: Add push filter to join rule to the planner
> ----------------------------------------------------------------
>
>                 Key: IGNITE-12915
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12915
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Roman Kondakov
>            Assignee: Andrey Mashenkov
>            Priority: Major
>
> We need to add  next rules to planner
>  * FilterJoinRule
>  * JoinPushExpressionsRule
> In order to be able to make this transformation for the query:
> {noformat}
> "select d.deptno, e.deptno from sales.dept d, sales.emp e\n"
>     + " where d.deptno + 10 = e.deptno * 2"
> BEFORE=
> LogicalProject(DEPTNO=[$0], DEPTNO0=[$5])
>   LogicalFilter(condition=[=(+($0, 10), *($5, 2))])
>     LogicalJoin(condition=[true], joinType=[inner])
>       IgniteTableScan(table=[[PUBLIC, DEPT]])
>       IgniteTableScan(table=[[PUBLIC, EMP]])
> AFTER=
> IgniteProject(DEPTNO=[$0], DEPTNO0=[$5])
>   IgniteJoin(condition=[=(+($0, 10), *($5, 2))], joinType=[inner])
>     IgniteTableScan(table=[[PUBLIC, DEPT]])
>     IgniteTableScan(table=[[PUBLIC, EMP]])
> {noformat}
>  
>  



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