[
https://issues.apache.org/jira/browse/HIVE-11206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622171#comment-14622171
]
Jesus Camacho Rodriguez commented on HIVE-11206:
------------------------------------------------
[~ashutoshc], I added some additional comments to the patch.
About the pieces from SemanticAnalyzer, the problem is that here we are doing
something very specific of the return path: the predicates in the join come
expressed in terms of the input/output columns, but the filters which are not
on joining columns need to be expressed wrt to the output of the RS. In
SemanticAnalyzer, we do not need to worry about this. Plus in addition, some of
the data structures are generated from the QBJoinTree (e.g. filterMap), while
here we need to generate them from the Calcite plan. Please, let me know if you
had something specific in mind.
> CBO (Calcite Return Path): Join translation should update all ExprNode
> recursively
> ----------------------------------------------------------------------------------
>
> Key: HIVE-11206
> URL: https://issues.apache.org/jira/browse/HIVE-11206
> Project: Hive
> Issue Type: Sub-task
> Components: CBO
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Attachments: HIVE-11206.01.patch, HIVE-11206.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)