atomsis opened a new issue, #11169:
URL: https://github.com/apache/iceberg/issues/11169

   ### Query engine
   
   I am working with Trina Iceberg connector
   
   ### Question
   
   It does not have vacuum which, if I am not mistaken, solves my problem. I 
had a task to optimize packages (I used optimize - everything is ok with it, it 
works as it should). And also it is necessary to delete old snapshots (for 
example, older than 7 days) - I used expire_snapshots - the documentation says 
that it deletes both old snapshots and metadata from them - but not only does 
it not delete metadata - it seems to not delete regular snapshots either. Then 
I decided to use remove_orphan_files. It works better - but does not delete 
metadata - but does as I want = deletes snapshots older than a certain period. 
Another small clarification: remove_orphan_files worked and then began to work 
every other time, I added commands in a row: first expire_snapshots and then 
remove_orphan_files - and now it consistently cleans old snapshots, but not 
metadata, although it seems that expire_snapshots should. Help me with any 
ideas (I apologize for my English)


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

Reply via email to