You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2010/07/23 18:52:53 UTC

[jira] Updated: (HIVE-25) [Hive] cluster by does not work with column aliasing

     [ https://issues.apache.org/jira/browse/HIVE-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-25:
-------------------------------

    Fix Version/s: 0.3.0
                       (was: 0.6.0)

> [Hive] cluster by does not work with column aliasing
> ----------------------------------------------------
>
>                 Key: HIVE-25
>                 URL: https://issues.apache.org/jira/browse/HIVE-25
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Prasad Chakka
>            Priority: Critical
>             Fix For: 0.3.0
>
>         Attachments: hive-25-code-changes.patch, hive-25.2.patch, hive-25.3.patch, hive-25.4.patch, hive-25.patch
>
>
>                     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.