MaxGekk commented on a change in pull request #30935:
URL: https://github.com/apache/spark/pull/30935#discussion_r549723962
##########
File path:
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/SupportsPartitionManagement.java
##########
@@ -139,4 +139,21 @@ void replacePartitionMetadata(
* @return an array of Identifiers for the partitions
*/
InternalRow[] listPartitionIdentifiers(String[] names, InternalRow ident);
+
+ /**
+ * Rename an existing partition of the table.
+ *
+ * @param from an existing partition identifier to rename
+ * @param to new partition identifier
+ * @return true if renaming completes successfully otherwise false
+ * @throws UnsupportedOperationException If partition renaming is not
supported
+ * @throws PartitionAlreadyExistsException If the `to` partition exists
already
+ * @throws NoSuchPartitionException If the `from` partition does not exist
+ */
Review comment:
Here it is: https://github.com/apache/spark/pull/30964
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]