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

*DropPartitionEvent should handle partition-sets.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 1.2.0
    • Metastore
    • 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.2.patch
          15 kB
          Mithun Radhakrishnan
        2. HIVE-9674.3.patch
          15 kB
          Mithun Radhakrishnan
        3. HIVE-9674.4.patch
          16 kB
          Sushanth Sowmyan
        4. HIVE-9674.5.patch
          16 kB
          Sushanth Sowmyan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: