You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2008/10/23 18:20:44 UTC

[jira] Created: (HADOOP-4507) [Hive] cluster by does not work with column aliasing

[Hive] cluster by does not work with column aliasing
----------------------------------------------------

                 Key: HADOOP-4507
                 URL: https://issues.apache.org/jira/browse/HADOOP-4507
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/hive
            Reporter: Namit Jain
            Assignee: Namit Jain


                    SELECT b.*  
                    FROM                                                 
                    (                                                    
                      SELECT x.col1, x.col2
                      FROM tmp x              
                      WHERE x.col2= 10
                      CLUSTER BY col2                                  
                    ) b"


The above query works, but if I change the cluster by to:

CLUSTER BY x.col2, 

it croaks.

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