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

Edward Capriolo commented on HIVE-2348:
---------------------------------------

@Chinna
Thank you for looking. My problem is compounded because we are using multiple 
catalogs at times so many tables and columns are aliased. So I can not just 
drop aliases because then I would get failures with ambiguous column references 
:) From an end user prospective this makes things difficult.
                
> Group by and order by of the same columns fails semantic analysis
> -----------------------------------------------------------------
>
>                 Key: HIVE-2348
>                 URL: https://issues.apache.org/jira/browse/HIVE-2348
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.1
>            Reporter: Edward Capriolo
>
> select offer, level_id, sum_cl_score as sumcl_floor
> FROM xxx
> GROUP BY offer, level_id, sumcl_floor 
> ORDER BY offer, level_id, sumcl_floor limit 1000000;
> FAILED: Error in semantic analysis: Invalid Table Alias or Column Reference 
> sumcl_floor

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to