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