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

   ### Feature Request / Improvement
   
   There are user requests about providing a feature that would prevent 
accidental data files drops when table is removed. The intention is to let 
users delete the table entry, but allow to keep data files in case the tables 
were remove too eagerly.
   
   I think to provide such semantics we could
   1. Introduce a table property, e.g: `drop.protected` that would prevent 
table drop when set to `true`
   2. Have some kind of trash, where dropped tables land and can be purged on 
schedule or manually.
   
   Note:
   Currently, `gc.enabled` prevents data files removal on both table dropped or 
snapshot expiration. There is discussion 
https://github.com/apache/iceberg/issues/4159 regarding semantics of 
`gc.enabled` depending on location ownership.
   
   
   
   ### Query engine
   
   None
   
   ### Willingness to contribute
   
   - [ ] I can contribute this improvement/feature independently
   - [ ] I would be willing to contribute this improvement/feature with 
guidance from the Iceberg community
   - [ ] I cannot contribute this improvement/feature at this time


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