You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2020/04/12 13:32:00 UTC
[jira] [Commented] (CALCITE-3910) Enhance ProjectJoinTransposeRule
to support SemiJoin and AntiJoin
[ https://issues.apache.org/jira/browse/CALCITE-3910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081801#comment-17081801 ]
Stamatis Zampetakis commented on CALCITE-3910:
----------------------------------------------
Are you working on this [~Chunwei Lei]? Is {{RelFieldTrimmer}} capable of pushing projects pass semi/anti joins? Can we re-use code?
> Enhance ProjectJoinTransposeRule to support SemiJoin and AntiJoin
> -----------------------------------------------------------------
>
> Key: CALCITE-3910
> URL: https://issues.apache.org/jira/browse/CALCITE-3910
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.22.0
> Reporter: Chunwei Lei
> Priority: Major
>
> Currently, ProjectJoinTransposeRule does not support push project pass SemiJoin and AntiJoin.
> {code:java}
> public void onMatch(RelOptRuleCall call) {
> Project origProj = call.rel(0);
> final Join join = call.rel(1);
> if (!join.getJoinType().projectsRight()) {
> return; // TODO: support SemiJoin / AntiJoin
> }
> ...
> ...
> }{code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)