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

ability to add and drop partitions atomically

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.13.0
    • Fix Version/s: None
    • Component/s: Metastore
    • Labels:
      None

      Description

      Hive should have ability to atomically add and drop partitions. This way admins can change partitions atomically without breaking the running jobs. It allows admin to merge several partitions into one.
      Essentially, we would like to have an api- add_drop_partitions(String db, String tbl_name, List<Partition> addParts, List<List<String>> dropParts, boolean deleteData);
      This jira covers changes required for metastore and thrift.

        Attachments

        1. hive-2777-updated.patch
          684 kB
          Xinyu Wang
        2. ASF.LICENSE.NOT.GRANTED--HIVE-2777.D2271.1.patch
          832 kB
          Phabricator

          Activity

            People

            • Assignee:
              aniket486 Aniket Namadeo Mokashi
              Reporter:
              aniket486 Aniket Namadeo Mokashi
            • Votes:
              2 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated: