hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Thusoo (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-2) [Hive] group by over a subquery with a cluster by not optimized
Date Mon, 01 Dec 2008 17:01:50 GMT

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

Ashish Thusoo updated HIVE-2:
-----------------------------

    Component/s: Query Processor

> [Hive] group by over a subquery with a cluster by not optimized
> ---------------------------------------------------------------
>
>                 Key: HIVE-2
>                 URL: https://issues.apache.org/jira/browse/HIVE-2
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>
> Consider the following
> select x.a, count(x.b) from (select ...... cluster by a) x group by x.a
> Even though the user has specifically asked to cluster by a, the group by will again
run 2 map-reduce jobs,
> sorting by a random number and a in that order. So, there will be a total of 3 map-reduce
jobs sorting
> by a, random and a respectively - this should be optimized

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