Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Similarly to JoinToCorrelateRule, in some contexts it might be interesting to transform a SemiJoin into a LogicalCorrelate, for this purpose a SemiJoinToCorrelateRule will be needed.
This feature requires the fix CALCITE-2605, otherwise we would get an exception in EnumerableCorrelate#implement when trying to generate the Expression selector:
Caused by: java.lang.IllegalStateException: Unable to convert SEMI to JoinRelType at org.apache.calcite.sql.SemiJoinType.toJoinType(SemiJoinType.java:83) at org.apache.calcite.adapter.enumerable.EnumerableCorrelate.implement(EnumerableCorrelate.java:103) ...
Attachments
Issue Links
- is blocked by
-
CALCITE-2605 NullPointerException when left outer join implemented with EnumerableCorrelate
- Closed
- links to