yyanyy opened a new pull request #2402:
URL: https://github.com/apache/iceberg/pull/2402


   - same fix as in #2328 for glue catalog. This case in theory should happen 
less often for Glue comparing to HMS unless there's internet connectivity issue 
with the current host at the time the commit is in progress, but still want to 
handle regardless. 
   - in theory, certain exception types from glue may not worth catalog 
recheck, e.g. client side exception due to invalid input. Personally I think an 
extra glue check may be cheap enough comparing to the risk of missing a valid 
case handling and code complexity of listing all kinds of exception type, but I 
don't really feel strongly either way and comments are welcome. 
   - moved `checkCommitStatus()` from `HiveTableOperations` to 
`BaseMetastoreTableOperations` to allow code reuse.
   - tests in `GlueCatalogCommitFailureTest` are heavily based on #2328; wanted 
to abstract them but since both classes extends a base class, and the shared 
code are not a lot, decided to duplicate the logic instead. 


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

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