hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <>
Subject [jira] [Commented] (HIVE-3430) group by followed by join with the same key should be optimized
Date Wed, 05 Sep 2012 15:33:08 GMT


Yin Huai commented on HIVE-3430:

There is one thing I forgot to add in last comment...

The current patch of HIVE-2206 can only handle the simpler query example, because I let the
optimizer to check if the correlation can reach the bottom of the tree (i.e. input tables).
Since, in the original example, one of the group by operation on "value" starts from an intermediate
table, the current implementation cannot optimize that. But if two separate queries (one for
the join operations on "key" and another for the join and group by operations on "value",
as shown by the simpler example) are used, the current implementation should be able to optimize
the second one. The idea of YSmart covers the original example, but I have not implemented
it yet...
> group by followed by join with the same key should be optimized
> ---------------------------------------------------------------
>                 Key: HIVE-3430
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            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:

View raw message