ajantha-bhat commented on code in PR #10643:
URL: https://github.com/apache/iceberg/pull/10643#discussion_r1667260941


##########
api/src/main/java/org/apache/iceberg/actions/ActionsProvider.java:
##########
@@ -70,4 +70,10 @@ default RewritePositionDeleteFiles 
rewritePositionDeletes(Table table) {
     throw new UnsupportedOperationException(
         this.getClass().getName() + " does not implement 
rewritePositionDeletes");
   }
+
+  /** Instantiates an action to remove expired files. */
+  default RemoveExpiredFiles removeExpiredFiles(Table table) {

Review Comment:
   @huaxingao: Can you please provide more background about why this interface 
is needed and what spark action we are planning to build on top of it? As per 
me, expireSnapshots action itself can clean the expired data and metadata 
files. So, I am wondering why this is required?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to