xxubai opened a new pull request, #11359:
URL: https://github.com/apache/gravitino/pull/11359

   ### What changes were proposed in this pull request?
   
   This PR updates the Glue catalog warning when loading Iceberg metadata fails.
   
   The warning no longer says that partitioning and sort order information may 
be incomplete. Instead, it reports the Iceberg metadata load failure directly 
and keeps the original exception in the stacktrace, so missing `metadata.json` 
files are easier to diagnose.
   
   This PR also adds a regression test to ensure that a table returned after 
Iceberg metadata loading fails still keeps its Glue operation context.
   
   ### Why are the changes needed?
   
   The previous warning was misleading when the real root cause was a missing 
Iceberg metadata file, for example an S3 `NoSuchKeyException` for 
`metadata/*.metadata.json`. It made the issue look like a partition or 
sort-order compatibility problem.
   
   Fix: #11352
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. The Glue catalog warning message for Iceberg metadata loading failures 
is changed.
   
   No API or configuration changes are introduced.
   
   ### How was this patch tested?
   
   - `./gradlew :catalogs:catalog-glue:test --tests 
org.apache.gravitino.catalog.glue.TestGlueCatalogOperationsForIceberg -PskipITs`
   - `./gradlew :catalogs:catalog-glue:test -PskipITs`
   


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

Reply via email to