hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <>
Subject [jira] [Updated] (HIVE-9674) *DropPartitionEvent should handle partition-sets.
Date Tue, 03 Mar 2015 00:10:05 GMT


Mithun Radhakrishnan updated HIVE-9674:
    Attachment: HIVE-9736.3.patch

[~cdrome] has me know (thank you!) that I'd neglected to change {{TestMetaStoreEventListener}}
for this change. Here's the emended patch.

> *DropPartitionEvent should handle partition-sets.
> -------------------------------------------------
>                 Key: HIVE-9674
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.14.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-9674.2.patch, HIVE-9736.3.patch
> Dropping a set of N partitions from a table currently results in N DropPartitionEvents
(and N PreDropPartitionEvents) being fired serially. This is wasteful, especially so for large
N. It also makes it impossible to even try to run authorization-checks on all partitions in
a batch.
> Taking the cue from HIVE-9609, we should compose an {{Iterable<Partition>}} in
the event, and expose them via an {{Iterator}}.

This message was sent by Atlassian JIRA

View raw message