You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yongzhi Chen (JIRA)" <ji...@apache.org> on 2015/04/02 23:27:54 UTC

[jira] [Commented] (HIVE-10160) Give a warning when grouping or ordering by a constant column

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

Yongzhi Chen commented on HIVE-10160:
-------------------------------------

Add warning message in hive log to help user find root cause.

> Give a warning when grouping or ordering by a constant column
> -------------------------------------------------------------
>
>                 Key: HIVE-10160
>                 URL: https://issues.apache.org/jira/browse/HIVE-10160
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Lefty Leverenz
>            Assignee: Yongzhi Chen
>            Priority: Minor
>
> To avoid confusion, a warning should be issued when users specify column positions instead of names in a GROUP BY or ORDER BY clause (unless hive.groupby.orderby.position.alias is set to true in Hive 0.11.0 or later).



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