hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Chakka (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-25) [Hive] cluster by does not work with column aliasing
Date Mon, 12 Jan 2009 18:24:00 GMT

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

Prasad Chakka updated HIVE-25:
------------------------------

    Fix Version/s: 0.2.0
     Release Note: enables table aliases in cluster by, distribute by, sort by clauses.
           Status: Patch Available  (was: Open)

> [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.2.0
>
>         Attachments: hive-25-code-changes.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.


Mime
View raw message