forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use REST Catalog config properties for DataInstructionsProvider…
…Plugin (deephaven#6191) The very first call to a REST Catalog is to fetch a [CatalogConfig](https://github.com/apache/iceberg/blob/apache-iceberg-1.6.1/open-api/rest-catalog-open-api.yaml#L1564-L1583) object via [/v1/config](https://github.com/apache/iceberg/blob/apache-iceberg-1.6.1/open-api/rest-catalog-open-api.yaml#L65-L131). This may include additional properties needed for further REST Catalog API calls (Iceberg handles this at internally in `org.apache.iceberg.rest.RESTSessionCatalog`). The additional properties may also contain credentials to access a warehouse, like S3. This sort of access control is implementation dependant, but this is the model that [Polaris REST Catalog](https://polaris.apache.org/) uses. Iceberg exposes the full set of properties after initialization via `org.apache.iceberg.rest.RESTCatalog#properties`. This PR passes along the full set of properties for REST Catalogs to `DataInstructionsProviderPlugin`.
- Loading branch information
1 parent
6161edf
commit 3066b7f
Showing
3 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters