rdblue commented on pull request #4342:
URL: https://github.com/apache/iceberg/pull/4342#issuecomment-1073347947


   @danielcweeks, @jackye1995, I think there's definitely value in being able 
to add tags to let lifecycle policies handle this. But I find it really 
confusing that adding a delete tag prevents the object from being deleted and 
instead just tags it.
   
   I think that tagging an object before deleting it and skipping the delete 
because the tag takes care of it should be separate configurations. It's 
reasonable for someone to replace deletes with tags, or tag an object and still 
delete it. I can also imagine a situations where client-side deletes aren't 
allowed and the warehouse relies on an orphan files service. That means all of 
the combinations of "skip delete" and "tag before delete" are valid use cases, 
so we should separate those.
   
   How about implementing this with a `s3.delete-enabled` flag and the 
`s3.delete.tags` config?


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