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

Jesus Camacho Rodriguez updated HIVE-23162:
-------------------------------------------
    Status: Patch Available  (was: In Progress)

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

Reply via email to