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

Carter Shanklin commented on HIVE-2873:
---------------------------------------

[~dzanter] Are you still seeing this? This does not reproduce on either Hive 
1.2.1 or Hive 2.1 so you might consider an upgrade.

> Qualifying a column name in an ORDER BY clause generates 'Error in semantic 
> analysis'
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-2873
>                 URL: https://issues.apache.org/jira/browse/HIVE-2873
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.1
>         Environment: Linux Kernel-2.6.18-glibc-2.5 x86_64 64bit
>            Reporter: Alex Piyevsky
>
> When I run the following SELECT:
> SELECT T1.f03int, SUM(T1.f05double) FROM b774winx86qa07_tmix91
> T1 GROUP BY T1.f03int ORDER BY T1.f03int;
> It generates 
> :  (10) [42000] Query returned non-zero code: 10, cause: FAILED: Error in 
> : semantic analysis: line 1:94 Invalid Table Alias or Column Reference T1
> If I remove T1 qualifier from the ORDER BY clause (ORDER BY f03int) data is 
> returned correctly.  Please advise, am I using incorrect syntax?  What is the 
> proper syntax convetion for using a table qualifier with ORDER BY



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to