terrytlu commented on issue #17213:
URL: https://github.com/apache/iceberg/issues/17213#issuecomment-5005358773

   Hi @RussellSpitzer ,
   You're right — the original description was AI-assisted and far too long, so 
I've trimmed it down to the essentials.
   I've also opened a PR with a concrete implementation: 
https://github.com/apache/iceberg/pull/17254
   The approach matches what you summarized: while scanning, it reads each 
metadata.json (and .metadata.json.gz) and compares the stored table-uuid 
against the one DeleteOrphanFiles was invoked on, aborting when a different 
table shares the location. It defaults to a safe ERROR mode and exposes IGNORE 
/ DELETE opt-outs.
   Would you mind taking a look at the approach and reviewing the PR when you 
have a chance? Happy to adjust based on your feedback. Thanks!


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