dmgcodevil commented on issue #2793:
URL: https://github.com/apache/iceberg/issues/2793#issuecomment-876100246


   that's exactly what I did. first I combined small files using 
`RewriteDataFilesAction`
   then I executed `ExpireSnapshotsAction`  using a timestamp of a snapshot 
before the one created by `RewriteDataFilesAction` (i.e. latest)
   I noticed that only a small number of files got removed. 
   
   Then I've fond the following statement in docs:
   
   ```
   in some cases normal snapshot expiration may not be able to determine a file 
is no longer needed and delete it.
   ```
   
   And decided to run `RemoveOrphanFilesAction`. Unfortunately, it deleted a 
lot of files that weren't combined.
   
   Also:
   `It will delete a superset of the files deleted by expire snapshot.` could 
you please explain ?


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