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

Laljo John Pullokkaran commented on HIVE-10506:
-----------------------------------------------

[~jcamachorodriguez] I think its not sufficient to look at static configuration 
(Hive Conf); we also need to look at run time exceptions. I.e we really need to 
verify if this is CBO optimized plan that is translated to hive ops.

Even if CBO is enabled it may not kick in due to unsupported operators and it 
may fail to optimize/translate (missing col stats, missing feature, bugs...) we 
need to handle these cases.

> CBO (Calcite Return Path): Disallow return path to be enable if CBO is off
> --------------------------------------------------------------------------
>
>                 Key: HIVE-10506
>                 URL: https://issues.apache.org/jira/browse/HIVE-10506
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>             Fix For: 1.2.0
>
>         Attachments: HIVE-10506.patch
>
>
> If hive.cbo.enable=false and hive.cbo.returnpath=true then some optimizations 
> would kick in. It's quite possible that in customer environment, they might 
> end up in these scenarios; we should prevent it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to