Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21765 Support partitions on temporary tables
  3. HIVE-21875

Implement drop partition related methods on temporary tables

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Hive
    • None

    Description

      IMetaStoreClient exposes the following methods related to dropping partitions:

      boolean dropPartition(String db_name, String tbl_name, List<String> part_vals, boolean deleteData);
      boolean dropPartition(String catName, String db_name, String tbl_name, List<String> part_vals, boolean deleteData);
      boolean dropPartition(String db_name, String tbl_name, List<String> part_vals, PartitionDropOptions options);
      boolean dropPartition(String catName, String db_name, String tbl_name, List<String> part_vals, PartitionDropOptions options);
      List<Partition> dropPartitions(String dbName, String tblName, List<ObjectPair<Integer, byte[]>> partExprs, boolean deleteData, boolean ifExists);
      List<Partition> dropPartitions(String catName, String dbName, String tblName, List<ObjectPair<Integer, byte[]>> partExprs, boolean deleteData, boolean ifExists);
      List<Partition> dropPartitions(String dbName, String tblName, List<ObjectPair<Integer, byte[]>> partExprs, boolean deleteData, boolean ifExists, boolean needResults);
      List<Partition> dropPartitions(String catName, String dbName, String tblName, List<ObjectPair<Integer, byte[]>> partExprs, boolean deleteData, boolean ifExists, boolean needResults);
      List<Partition> dropPartitions(String dbName, String tblName, List<ObjectPair<Integer, byte[]>> partExprs, PartitionDropOptions options);
      List<Partition> dropPartitions(String catName, String dbName, String tblName, List<ObjectPair<Integer, byte[]>> partExprs, PartitionDropOptions options);
      boolean dropPartition(String db_name, String tbl_name, String name, boolean deleteData);
      boolean dropPartition(String catName, String db_name, String tbl_name, String name, boolean deleteData)

      Attachments

        1. HIVE-21875.06.patch
          23 kB
          László Pintér
        2. HIVE-21875.05.patch
          23 kB
          László Pintér
        3. HIVE-21875.04.patch
          23 kB
          László Pintér
        4. HIVE-21875.03.patch
          23 kB
          László Pintér
        5. HIVE-21875.02.patch
          22 kB
          László Pintér
        6. HIVE-21875.01.patch
          23 kB
          László Pintér

        Activity

          People

            lpinter László Pintér
            lpinter László Pintér
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: