[
https://issues.apache.org/jira/browse/HIVE-10882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622176#comment-14622176
]
Jesus Camacho Rodriguez commented on HIVE-10882:
------------------------------------------------
Let's wait till HIVE-11197 and HIVE-11206 go in; I'll rebase the patch and we
can trigger a new QA run.
About your concern, I think what I replied in HIVE-11206 applies here too. I
agree with you we shouldn't create duplicate code; the problem in this case is
that the filtersMap is generated from the QBJoinTree in SemanticAnalyzer, while
it is generated from the predicates when the return path is on. So it is
difficult to actually factorize that code as there are not so many common parts.
> CBO: Calcite Operator To Hive Operator (Calcite Return Path) empty filtersMap
> of join operator causes wrong results
> -------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-10882
> URL: https://issues.apache.org/jira/browse/HIVE-10882
> Project: Hive
> Issue Type: Sub-task
> Components: CBO
> Reporter: Pengcheng Xiong
> Assignee: Jesus Camacho Rodriguez
> Attachments: HIVE-10882.01.patch
>
>
> CBO return path creates join operator with empty filtersMap. This causes
> outer joins to produce wrong results. To reproduce, run louter_join_ppr.q
> with return path turned on.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)