chunweilei commented on code in PR #2837:
URL: https://github.com/apache/calcite/pull/2837#discussion_r903541484
##########
core/src/main/java/org/apache/calcite/rel/rules/FilterJoinRule.java:
##########
@@ -138,7 +138,9 @@ protected void perform(RelOptRuleCall call, @Nullable
Filter filter,
}
}
- joinFilters = inferJoinEqualConditions(joinFilters, join);
+ if (joinType != JoinRelType.FULL) {
Review Comment:
I think
```
select *
from emp e right outer join dept d
on e.empno = d.deptno and e.deptno = d.deptno
```
can be transformed to
```
select *
from (select * from emp where empno = deptno) e right outer join dept d
on e.empno = d.deptno
```
. Right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]