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 Tue, 07 Apr 2015 23:42:14 GMT

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

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

The new patch doing following:
1. Only report warning to session console if hive.session.silent is false for in some case
clients do not want to see warnings. 
2. Always record the warning in hive log.
3. Use more relevant warning messages.
4. Removing new tests for the Minimr tests build errors.

> 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, HIVE-10160.5.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)

Mime
View raw message