You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "godfrey he (JIRA)" <ji...@apache.org> on 2019/07/03 04:34:00 UTC

[jira] [Created] (CALCITE-3169) decorrelateRel method should return when meeting SEMI/ANTI join in RelDecorrelator

godfrey he created CALCITE-3169:
-----------------------------------

             Summary: 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
             Fix For: 1.21.0



{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)