plusplusjiajia opened a new pull request, #719:
URL: https://github.com/apache/iceberg-cpp/pull/719
Parse the optional `storage-credentials` field of `LoadTableResponse` /
`CreateTableResponse` (per the Iceberg REST OpenAPI spec) and expose the vended
credentials to callers.
- New `StorageCredential` struct (`prefix` + `config` map) in `types.h`.
- `LoadTableResult` gains a `std::vector<StorageCredential>
storage_credentials` field (replacing the prior `// TODO`).
- JSON serializer/deserializer round-trip the `storage-credentials` array.
- `RestCatalog::LoadTableResultFor()` returns the raw
`LoadTableResult`(including vended credentials) without binding a FileIO, so
callers can build a per-table FileIO from server-vended short-lived credentials
(e.g. S3 STS tokens). `LoadTable()` now delegates to it.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]