Description
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.
Attachments
Attachments
Issue Links
- is depended upon by
-
HIVE-10250 Optimize AuthorizationPreEventListener to reuse TableWrapper objects
- Open
-
HIVE-9681 Extend HiveAuthorizationProvider to support partition-sets.
- Closed
- relates to
-
HIVE-10395 PreAddPartitionEvent should also be updated to use Iterator semantics
- Open