hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Sun (JIRA)" <>
Subject [jira] [Commented] (HIVE-11297) Combine op trees for partition info generating tasks [Spark branch]
Date Thu, 08 Jun 2017 19:51:18 GMT


Chao Sun commented on HIVE-11297:

[~kellyzly]: more changes are needed in {{SplitOpTreeForDPP}}: you also need to make sure
when splitting the OP tree, all pruning sinks will be kept. For instance, given:
                 /  | \
               B1  B2  B3
suppose {{B2}} and {{B3}} contains pruning sinks, in {{SplitOpTreeForDPP}} we should clone
the OP tree for both of them. The result should be:
Original Tree    Generated Tree
TS               TS
 |                |
FIL              FIL
 |                |
SEL              SEL
 |               / \
B1              B2  B3

> Combine op trees for partition info generating tasks [Spark branch]
> -------------------------------------------------------------------
>                 Key: HIVE-11297
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: spark-branch
>            Reporter: Chao Sun
>            Assignee: liyunzhang_intel
>         Attachments: HIVE-11297.1.patch, HIVE-11297.2.patch
> Currently, for dynamic partition pruning in Spark, if a small table generates partition
info for more than one partition columns, multiple operator trees are created, which all start
from the same table scan op, but have different spark partition pruning sinks.
> As an optimization, we can combine these op trees and so don't have to do table scan
multiple times.

This message was sent by Atlassian JIRA

View raw message