hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Sun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16328) HoS: more aggressive mapjoin optimization when hive.spark.use.file.size.for.mapjoin is true
Date Tue, 11 Apr 2017 17:27:42 GMT

    [ https://issues.apache.org/jira/browse/HIVE-16328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964678#comment-15964678
] 

Chao Sun commented on HIVE-16328:
---------------------------------

[~xuefuz] can you help to review this? thanks.

> HoS: more aggressive mapjoin optimization when hive.spark.use.file.size.for.mapjoin is
true
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-16328
>                 URL: https://issues.apache.org/jira/browse/HIVE-16328
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>         Attachments: HIVE-16328.1.patch, HIVE-16328.2.patch
>
>
> In HIVE-15489, when {{hive.spark.use.file.size.for.mapjoin}} is set to true, and if the
JOIN op has any upstream RS operator, then we will stop converting the JOIN op to MAPJOIN
op. 
> However, this is overly conservative. A better solution is to treat the branch that has
upstream RS as the big table and check if all other branches are map-only AND can fit in hash
table size.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message