wecharyu commented on code in PR #5223:
URL: https://github.com/apache/hive/pull/5223#discussion_r2203426608


##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java:
##########
@@ -2179,6 +2179,37 @@ List<Partition> dropPartitions(String catName, String 
dbName, String tblName,
                                  PartitionDropOptions options)
       throws NoSuchObjectException, MetaException, TException;
 
+  /**
+   * Drop partitions by partition specification.
+   * @param dbName Name of the database
+   * @param tblName Name of the table
+   * @param partsSpec request partition specification
+   * @param options Boolean options for dropping partitions
+   * @return List of Partitions dropped
+   * @throws NoSuchObjectException No partition matches the expression(s), and 
ifExists was false.
+   * @throws MetaException error access the RDBMS or storage.
+   * @throws TException On failure
+   */
+  List<Partition> dropPartitions(String dbName, String tblName,

Review Comment:
   Currently Spark only support drop single partition in a call, if the 
`dropPartitionByNames` are exposed in client, spark could use it to speed up 
the drop partitions ddl.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to