You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jesus Camacho Rodriguez (Jira)" <ji...@apache.org> on 2020/04/09 02:53:00 UTC

[jira] [Created] (HIVE-23162) Remove swapping logic to merge joins in AST converter

Jesus Camacho Rodriguez created HIVE-23162:
----------------------------------------------

             Summary: Remove swapping logic to merge joins in AST converter
                 Key: HIVE-23162
                 URL: https://issues.apache.org/jira/browse/HIVE-23162
             Project: Hive
          Issue Type: Bug
          Components: CBO
            Reporter: Jesus Camacho Rodriguez
            Assignee: Jesus Camacho Rodriguez


In ASTConverter, there is some logic to invert join inputs so the logic to merge joins in SemanticAnalyzer kicks in.
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/ASTConverter.java#L407

There is a bug because inputs are swapped but the schema is not. However, it turns out that logic is not needed now that merging is off by default.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)