RussellSpitzer commented 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.


-- 
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