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 2012/06/28 00:08:43 UTC
[jira] [Updated] (HIVE-3171) Bucketed sort merge join doesn't work
on tables with more than one partition
[ https://issues.apache.org/jira/browse/HIVE-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-3171:
---------------------------------
Component/s: Query Processor
Labels: bucketing joins partitioning (was: )
> Bucketed sort merge join doesn't work on tables with more than one partition
> ----------------------------------------------------------------------------
>
> Key: HIVE-3171
> URL: https://issues.apache.org/jira/browse/HIVE-3171
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Joey Echeverria
> Labels: bucketing, joins, partitioning
>
> Executing a query with the MAPJOIN hint and the bucketed sort merge join optimizations enabled:
> {noformat}
> set hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat;
> set hive.optimize.bucketmapjoin = true;
> set hive.optimize.bucketmapjoin.sortedmerge = true;
> {noformat}
> works fine with partitioned tables if there is only one partition in the table. However, if you add a second partition, Hive attempts to do a regular map-side join which can fail because the tables are too large. Hive ought to be able to still do the bucketed sort merge join with partitions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira