You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/07/08 02:04:46 UTC

[GitHub] [iceberg] RussellSpitzer edited a comment on issue #2793: Does 'expireSnapshots' also remove data files ?

RussellSpitzer edited a comment on issue #2793:
URL: https://github.com/apache/iceberg/issues/2793#issuecomment-876060678


   The ExpireSnapshots action removes all data files and manifests which are no longer reachable once the expired snapshots have been removed.
   
   RemoveOrphanFiles compares the current reachable set of files with all the files in the table's location and removes any that are not referenced by the Iceberg table.
   
   So expire snapshots should never remove any files unless they were once part of an Iceberg table and have become unreachable. This will never delete other files.
   
   RemoveOrphans will remove any files in the table location, regardless of whether they were once part of the table or just happen to be in that location.
   
   In both cases these actions will physically delete the files they believe are no longer needed.


-- 
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-unsubscribe@iceberg.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org