Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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)