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

Chao commented on HIVE-10160:
-----------------------------

Patch looks good to me. But I'm wondering instead of putting the warning in the 
log, whether it makes more sense to put it in the shell, so user can know 
immediately what they need to do to make it work.

> 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
>         Attachments: HIVE-10160.1.patch, HIVE-10160.3.patch
>
>
> 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)

Reply via email to