Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9674

*DropPartitionEvent should handle partition-sets.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 1.2.0
    • Component/s: Metastore
    • Labels:
      None

      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

        1. HIVE-9674.5.patch
          16 kB
          Sushanth Sowmyan
        2. HIVE-9674.4.patch
          16 kB
          Sushanth Sowmyan
        3. HIVE-9674.3.patch
          15 kB
          Mithun Radhakrishnan
        4. HIVE-9674.2.patch
          15 kB
          Mithun Radhakrishnan

          Issue Links

            Activity

              People

              • Assignee:
                mithun Mithun Radhakrishnan
                Reporter:
                mithun Mithun Radhakrishnan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: