Error message is wrong if sortby contains function
--------------------------------------------------
Key: HIVE-2469
URL: https://issues.apache.org/jira/browse/HIVE-2469
Project: Hive
Issue Type: Bug
Components: Query Processor
Affects Versions: 0.9.0
Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server
10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5)
Reporter: Chinna Rao Lalam
Assignee: Chinna Rao Lalam
select key, count(1) cnt from src group by key sort by count(1) limit 10;
Exception Message is:
FAILED: Error in semantic analysis: functions are not supported in order by.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira