You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (Jira)" <ji...@apache.org> on 2020/04/09 03:37:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17078884#comment-17078884 ]
Vineet Garg commented on HIVE-23162:
------------------------------------
+1 pending tests
> 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
> Attachments: HIVE-23162.01.patch
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)