dramaticlly commented on PR #13434:
URL: https://github.com/apache/iceberg/pull/13434#issuecomment-3081658347

   > We're registering existing Iceberg tables to HiveCatalog and realize that 
the metadata.json files used are deleted when the target namespace doesn't 
exist.
   
   I think the other way to look at this problem might be disable the clean up 
for failed commit.
   Today the TableOperations.commit() method assume the caller is the one 
author the metadata.json and it's safe to clean on commit failure. However for 
register table, metadata.json is usually written ahead of time (by a separate 
process or even in used in other catalog), so clean up might not be 
appropriate. Some more of the problem in 
https://lists.apache.org/thread/b5k7vdng904zr3n3q8wv83y8l30rnd4c


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