aokolnychyi commented on issue #4159:
URL: https://github.com/apache/iceberg/issues/4159#issuecomment-1045441889


   > If a file is in an owned location, then the table should always be able to 
delete it
   
   I agree with that but I'd phrase it slightly differently. It see it more 
like a consequence. I'd say `gc.enabled` should control whether we can delete 
data and delete files (i.e. expire snapshots). Metadata files are considered 
always owned and can be deleted during table purge. A list of owned locations 
indicate what locations can be scanned for orphan files and what locations can 
be deleted during table purge or removal of reachable files.
   
   That being said, if `gc.enabled` is true and a data file is in a shared 
location not owned by the table, I think we should still allow its removal.


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