You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/08/25 21:10:58 UTC

[jira] [Closed] (OPTIQ-368) Add SemiJoinRule, planner rule to convert project-join-aggregate into semi-join

     [ https://issues.apache.org/jira/browse/OPTIQ-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde closed OPTIQ-368.
-----------------------------


Close issues resolved in release 0.9.0-incubating (2014-08-25).

> Add SemiJoinRule, planner rule to convert project-join-aggregate into semi-join
> -------------------------------------------------------------------------------
>
>                 Key: OPTIQ-368
>                 URL: https://issues.apache.org/jira/browse/OPTIQ-368
>             Project: Optiq
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>             Fix For: 0.9.0-incubating
>
>
> Semi-join is an important logical relational expression but many query sources (e.g. SqlToRelTranslator) do not generate them. This rule would create SemiJoinRel if it sees a join that aggregates its right input on the join key; a project on top is necessary to be sure that columns from the right side of the join are not being used.
> Also, add class JoinInfo and a method on JoinRelBase 'public JoinInfo analyzeCondition()', to make it easier to analyze whether join conditions are equi-joins.



--
This message was sent by Atlassian JIRA
(v6.2#6252)