RussellSpitzer commented on issue #2793: URL: https://github.com/apache/iceberg/issues/2793#issuecomment-876096048
ExpireSnapshots is what you want to run. If you want to combine small files and then remove the old small files physically you would perform a Rewrite followed by an ExpireSnapshots expiring all snapshots except for the most recent one you created. Remove orphan files is more for when you have failed commits that have left files in the directory. It is much more expensive because it requires doing directory listings and more dangerous since it can delete files that were not previously part of the table. It will delete a superset of the files deleted by expire snapshot. -- 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]
