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

Gunther Hagleitner commented on HIVE-8389:
------------------------------------------

[~pxiong] Sergey is right. This way you'll disable CBO whenever someone turns 
on the index optimization. That works, but is a blunt way of handling it. I've 
looked at the code a little bit. Since you can't tell from the semantic 
analyzer if any indices qualify, they only other way to handle this is to find 
out why CBO and index optimizer actually conflict and then address that.

Can you share the testcase/result on this ticket that shows the conflict?

> Disable CBO when indexes are used
> ---------------------------------
>
>                 Key: HIVE-8389
>                 URL: https://issues.apache.org/jira/browse/HIVE-8389
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-8389.1.patch
>
>
> Disable CBO when indexes are used



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

Reply via email to