hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongzhi Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10160) Give a warning when grouping or ordering by a constant column
Date Thu, 02 Apr 2015 21:27:54 GMT

    [ 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)

Mime
View raw message