Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
We need to add next rules to planner
- FilterJoinRule
- JoinPushExpressionsRule
In order to be able to make this transformation for the query:
"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]])
Attachments
Issue Links
- is part of
-
IGNITE-12248 Apache Calcite based query execution engine
- Open
- links to