Skip to content

[Feature Request]: Support 'warehouse' property in REST Catalog client for Data Location Override from the server #32

@terakoya76

Description

@terakoya76

Is your feature request related to a problem? Please describe.
Using only a static catalogName can be inconvenient in some cases.
For example, in the Cloudflare R2 Iceberg catalog, you cannot obtain the actual data location path without the warehouse property. This is one thing that is possible with pyiceberg but not with iceberg-js.

Describe the solution you'd like
I would like to add support for the warehouse property in the REST Catalog client.
The client uses the warehouse property as a query parameter to the /v1/config endpoint to retrieve configuration information from the server and utilize that overridden information.
https://github.com/apache/iceberg/blob/apache-iceberg-1.10.0/open-api/rest-catalog-open-api.yaml#L65

Describe alternatives you've considered
Not support in this library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions