coderfender commented on code in PR #12824: URL: https://github.com/apache/iceberg/pull/12824#discussion_r2054932871
########## api/src/main/java/org/apache/iceberg/actions/RewriteDataFiles.java: ########## @@ -86,6 +86,12 @@ public interface RewriteDataFiles int MAX_CONCURRENT_FILE_GROUP_REWRITES_DEFAULT = 5; + /** + * The max number of files to be rewritten. By default, this value will be 0 (To rewrite all the + * files) + */ + String MAX_FILES_TO_REWRITE = "max-files-to-rewrite"; Review Comment: Thank you for the feedback @RussellSpitzer ! The current logic would not limit the number of files if this optional parameter is not set (since it would never route to the else part of the logic) -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org