plusplusjiajia opened a new pull request, #2651:
URL: https://github.com/apache/iceberg-rust/pull/2651

     ## What
     load_table / create_table now request vended credentials via the
     `X-Iceberg-Access-Delegation: vended-credentials` header and merge the 
returned
     `storage_credentials` into the FileIO properties. `LoadTableResult` already
     exposes `storage_credentials` (its doc even says clients should prefer it 
over
     `config`), but the field was never used.
   
     ## Why
     REST catalogs that vend per-table credentials return them in 
`storage_credentials`. Without requesting delegation and merging them, FileIO 
is built without credentials and data access fails.
   
     ## Changes
     - Send `X-Iceberg-Access-Delegation: vended-credentials` on load/create.
     - New `table_file_io_config()` merges config + storage_credentials
       (longest prefix wins) + catalog props.
     - `update_table` reloads after commit to return a credentialed FileIO
       (CommitTableResponse carries no credentials).


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

Reply via email to