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

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

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

Work on HIVE-23162 started by Jesus Camacho Rodriguez.
------------------------------------------------------
> 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
>            Priority: Major
>
> 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)