You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2017/07/18 21:42:00 UTC

[jira] [Commented] (HIVE-17119) Improve error message thrown by subqueries if there are no statistics

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

Pengcheng Xiong commented on HIVE-17119:
----------------------------------------

Thanks [~vgarg], i think previously [~rusanu] has a patch for popping out warning messages for missing stats.

> Improve error message thrown by subqueries if there are no statistics
> ---------------------------------------------------------------------
>
>                 Key: HIVE-17119
>                 URL: https://issues.apache.org/jira/browse/HIVE-17119
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logical Optimizer
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>
> Currently if there are no stats hive bails out of cbo and try non-cbo route. Since most of the subqueries are only supported in CBO and not in non-cbo we end up with completely different error message. This creates confusion.
> One possible solution is to throw warnings that stats are missing before throwing subquery related error message.
> cc [~pxiong]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)