You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2014/11/12 23:24:35 UTC
[jira] [Updated] (HIVE-8810) Make HashTableSinkOperator works for
Spark Branch [Spark Branch]
[ https://issues.apache.org/jira/browse/HIVE-8810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jimmy Xiang updated HIVE-8810:
------------------------------
Attachment: HIVE-8810.1-spark.patch
With this patch, and Chao's patch for HIVE-8776, simple map join works.
> Make HashTableSinkOperator works for Spark Branch [Spark Branch]
> ----------------------------------------------------------------
>
> Key: HIVE-8810
> URL: https://issues.apache.org/jira/browse/HIVE-8810
> Project: Hive
> Issue Type: Sub-task
> Components: Spark
> Affects Versions: spark-branch
> Reporter: Chao
> Assignee: Jimmy Xiang
> Attachments: HIVE-8810.1-spark.patch
>
>
> In MR, all small tables for a particular MJ operator share the same instance of {{HashTableSinkOperator}}, while in Spark branch, each small table corresponds to a different {{HashTableSinkOperator}} instance. This difference causes some issues.
> For instance, in {{HashTableSinkOperator#processOp}}, it uses a tag to look for information in various data structures, such as {{joinKeys}}, {{filterMaps}}, {{joinValues}}, etc. Those data structures stores the information BEFORE it splits the MJ operator with its parents. But, since later on we use separate {{HashTableSinkOperator}} for each small table, that information is no longer valid, and thus this method will fail.
> This JIRA is to track and solve these related issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)