You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lianhui Wang (JIRA)" <ji...@apache.org> on 2013/03/01 09:17:13 UTC
[jira] [Commented] (HIVE-3430) group by followed by join with the
same key should be optimized
[ https://issues.apache.org/jira/browse/HIVE-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590321#comment-13590321 ]
Lianhui Wang commented on HIVE-3430:
------------------------------------
also should consider the following query:
SELECT a.key, a.cnt, b.key, a.cnt
FROM
(SELECT x.key as key, count(x.value) AS cnt FROM src x group by x.key) a
JOIN src b
ON (a.key = b.key);
> group by followed by join with the same key should be optimized
> ---------------------------------------------------------------
>
> Key: HIVE-3430
> URL: https://issues.apache.org/jira/browse/HIVE-3430
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Affects Versions: 0.10.0
> Reporter: Namit Jain
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira