[ 
https://issues.apache.org/jira/browse/HIVE-19358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16494282#comment-16494282
 ] 

Jesus Camacho Rodriguez commented on HIVE-19358:
------------------------------------------------

Fixed issues (it should come back clean from QA) and uploaded patch to 
https://reviews.apache.org/r/67364/ .

[~vgarg], [~ashutoshc], could you take a look? New methods in HiveRelOptUtil 
are brought from Calcite and extended to make them work with custom operator 
instances (probably those methods should be generalized in Calcite so we do not 
have two copies in codebase). Thanks

> CBO decorrelation logic should generate Hive operators
> ------------------------------------------------------
>
>                 Key: HIVE-19358
>                 URL: https://issues.apache.org/jira/browse/HIVE-19358
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 3.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-19358.01.patch, HIVE-19358.02.patch, 
> HIVE-19358.03.patch, HIVE-19358.04.patch, HIVE-19358.patch, fix.patch
>
>
> Decorrelation logic may generate logical instances of the operators in the 
> plan (e.g., LogicalFilter instead of HiveFilter). This leads to errors while 
> costing the tree in the Volcano planner (used in MV rewriting), since logical 
> operators do not have a cost associated to them.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to