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

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

Put the warning to shell, and add one test, waiting for test result. 

> 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, 
> HIVE-10160.4.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