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

   ### What changes were proposed in this pull request?
   
   `lakehouse-iceberg` catalogs backed by `hive`/`jdbc` are now automatically 
routed through Gravitino's Iceberg REST server when the server exposes a 
discoverable endpoint for the metalake, instead of being translated into 
Spark/Iceberg's `hive`/`jdbc` catalog type.
   
   Two new connector properties:
   - `spark.sql.gravitino.iceberg.rest-uri` — overrides the auto-discovered 
endpoint
   - `spark.sql.gravitino.iceberg.rest.` — prefix for Iceberg REST client 
config, including OAuth reuse
   
   ### Why are the changes needed?
   
   Non-REST-backed `lakehouse-iceberg` catalogs have nowhere to receive 
Gravitino's vended, short-lived credentials — only Iceberg's `rest` catalog 
type consumes those.
   
   Fix: #12709
   
   ### Does this PR introduce any user-facing change?
   
   Yes: two new optional connector properties, and eligible `lakehouse-iceberg` 
catalogs are now loaded through IRC instead of native translation when 
available. Docs updated.
   
   ### How was this patch tested?
   
   Unit tests pass; `spark-common`/`spark-3.3`/`spark-3.4`/`spark-3.5` compile 
cleanly.


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