szehon-ho commented on PR #5327:
URL: https://github.com/apache/iceberg/pull/5327#issuecomment-1208652182

   Sounds good.  The only corruption detection we can tell now is if the 
metadata.json no longer exists, I think, unless there are other things we can 
easily detect.
   
   My initial thought for this pr was actually for non-corrupt case (ie, I have 
a metadata json that loads fine, but the metadata is wrong, eg  issues listed 
in #5163).  But I guess the consensus is , the user just writes a script to 
drop and register the Iceberg table with the right metadata json in that case, 
and we don't want to extend Iceberg Catalog at this point to handle those cases.
   
   @yabola sorry about that, but I guess if you want to instead make a patch 
for the issue (make HiveCatalog.dropTable able to handle non-exist metadata 
json).


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