[ 
https://issues.apache.org/jira/browse/CALCITE-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646354#comment-16646354
 ] 

Ruben Quesada Lopez commented on CALCITE-2621:
----------------------------------------------

A possible way to implement this could be generalizing JoinToCorrelateRule with 
a parameterized constructor to support any sub-class of 
org.apache.calcite.rel.core.Join, and not just 
org.apache.calcite.rel.logical.LogicalJoin.
Then, the new SemiJoinToCorrelateRule could use this feature.

> New rule: SemiJoinToCorrelateRule (SemiJoin => LogicalCorrelate)
> ----------------------------------------------------------------
>
>                 Key: CALCITE-2621
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2621
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Ruben Quesada Lopez
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: 1.18.0
>
>
> 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 message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to