laserninja commented on issue #10640:
URL: https://github.com/apache/gravitino/issues/10640#issuecomment-4180790228

   After investigating this issue and discussing with reviewers, the Iceberg 
REST catalog OpenAPI spec does **not** include a `prefix` parameter for the 
config endpoint ([spec 
link](https://github.com/apache/iceberg/blob/1a2a8a5ecc701629183405ca842f2d1eb23505ee/open-api/rest-catalog-open-api.yaml#L65)).
 Iceberg creator Ryan Blue confirmed: "A prefix is not allowed for the config 
endpoint."
   
   The resolution in PR #10652 is to **remove** the prefix from the config 
endpoint URL (changing `@Path` from `/v1/{prefix:([^/]*/)?}config` to 
`/v1/config`), so that the endpoint only accepts the `warehouse` query 
parameter for catalog resolution. This aligns Gravitino's implementation with 
the Iceberg REST spec.
   


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