Column aliases cannot be used in a group by clause
--------------------------------------------------

                 Key: HIVE-1683
                 URL: https://issues.apache.org/jira/browse/HIVE-1683
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Metastore
            Reporter: Shrikrishna Lawande


Column aliases cannot be used in a group by clause


Following query would fail :

select col1 as t, count(col2) from test group by t;
FAILED: Error in semantic analysis: line 1:49 Invalid Table Alias or Column 
Reference t


-- 
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