[
https://issues.apache.org/jira/browse/HIVE-23162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesus Camacho Rodriguez updated HIVE-23162:
-------------------------------------------
Attachment: (was: HIVE-23162.patch)
> 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)