You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Danny Chan (JIRA)" <ji...@apache.org> on 2019/07/08 13:06:00 UTC
[jira] [Resolved] (CALCITE-3169) decorrelateRel method should
return when meeting SEMI/ANTI join in RelDecorrelator
[ https://issues.apache.org/jira/browse/CALCITE-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danny Chan resolved CALCITE-3169.
---------------------------------
Resolution: Fixed
Fixed inĀ [e723ee9|https://github.com/apache/calcite/commit/e723ee943f575823db5c8c155236368fc6bb00e2], thanks for your PR, [~godfreyhe] !
> decorrelateRel method should return when meeting SEMI/ANTI join in RelDecorrelator
> ----------------------------------------------------------------------------------
>
> Key: CALCITE-3169
> URL: https://issues.apache.org/jira/browse/CALCITE-3169
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.20.0
> Reporter: godfrey he
> Assignee: Danny Chan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.21.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code:java}
> /**
> * Rewrite LogicalJoin.
> *
> * @param rel Join
> */
> public Frame decorrelateRel(LogicalJoin rel) {
> // For SEMI/ANTI join decorrelate it's input directly,
> // because the correlate variables can only be propagated from
> // the left side, which is not supported yet.
> if (!rel.getJoinType().projectsRight()) {
> decorrelateRel((RelNode) rel);
> }
> ...
> {code}
> {{return}} is missing before {{decorrelateRel((RelNode) rel);}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)