[ 
https://issues.apache.org/jira/browse/HADOOP-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Douglas resolved HADOOP-4401.
-----------------------------------

    Resolution: Duplicate

> ORDER BY clause is ignored for SELECT statements
> ------------------------------------------------
>
>                 Key: HADOOP-4401
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4401
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>            Reporter: Jeff Hammerbacher
>
> The "ORDER BY" clause seems to be ignored (see the truncated output below). 
> I'd really like to use this in conjunction with the forthcoming LIMIT clause 
> to get TOP K functionality.
> hive> SELECT t.* FROM t ORDER BY t.numfriends;
> 3     Whatever Dude   25
> 4     Sweet Guy       20
> 1     Jeff Hammerbacher       15
> 2     Teddy Roosevelt 20

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to