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

Hudson commented on HIVE-581:
-----------------------------

Integrated in Hive-trunk-hadoop2 #54 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-581 improve group by syntax
(Zhenxiao Luo via namit) (Revision 1426165)

     Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1426165
Files : 
* /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
* /hive/trunk/conf/hive-default.xml.template
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientnegative/groupby_invalid_position.q
* /hive/trunk/ql/src/test/queries/clientnegative/orderby_invalid_position.q
* /hive/trunk/ql/src/test/queries/clientnegative/orderby_position_unsupported.q
* /hive/trunk/ql/src/test/queries/clientpositive/groupby_position.q
* /hive/trunk/ql/src/test/results/clientnegative/groupby_invalid_position.q.out
* /hive/trunk/ql/src/test/results/clientnegative/orderby_invalid_position.q.out
* 
/hive/trunk/ql/src/test/results/clientnegative/orderby_position_unsupported.q.out
* /hive/trunk/ql/src/test/results/clientpositive/groupby_position.q.out

                
> improve group by syntax
> -----------------------
>
>                 Key: HIVE-581
>                 URL: https://issues.apache.org/jira/browse/HIVE-581
>             Project: Hive
>          Issue Type: Improvement
>          Components: Clients, Query Processor
>            Reporter: Larry Ogrodnek
>            Assignee: Zhenxiao Luo
>              Labels: features
>             Fix For: 0.11.0
>
>         Attachments: HIVE-581.1.patch.txt, HIVE-581.2.patch.txt
>
>
> It would be nice if group by allowed either column aliases or column position 
> (like mysql).
> It can be burdensome to have to repeat UDFs both in the select and in the 
> group by.
> e.g. instead of:
> select f1(col1), f2(col2), f3(col3), count(1) group by f1(col1), f2(col2), 
> f3(col3);
> it would allow:
> select f1(col1), f2(col2), f3(col3), count(1) group by 1, 2, 3;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to