You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Quesada Lopez (JIRA)" <ji...@apache.org> on 2018/10/11 12:10:00 UTC
[jira] [Comment Edited] (CALCITE-2621) New rule:
SemiJoinToCorrelateRule (SemiJoin => LogicalCorrelate)
[ https://issues.apache.org/jira/browse/CALCITE-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646354#comment-16646354 ]
Ruben Quesada Lopez edited comment on CALCITE-2621 at 10/11/18 12:09 PM:
-------------------------------------------------------------------------
A possible way to implement this could be generalizing JoinToCorrelateRule with a parameterized constructor to support any sub-class of Join, and not just LogicalJoin (same as JoinToMultiJoinRule), ensuring of course backwards compatibility.
Then, the new SemiJoinToCorrelateRule could use this feature.
was (Author: rubenql):
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)