You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "DerGut (via GitHub)" <gi...@apache.org> on 2026/07/16 20:59:05 UTC

Re: [I] Session/ Request/ Auth Context Propagation [iceberg-rust]

DerGut commented on issue #2774:
URL: https://github.com/apache/iceberg-rust/issues/2774#issuecomment-4996531825

   I've sketched out a plan to implement this work in 3 phases:
   1. Introduce a `SessionCatalog` following Java's SessionCatalog interface, have it accept a `SessionContext` for catalog methods. The `RestCatalog` can simply reuse it as an inner catalog and delegate all logic -> PoC is here: https://github.com/apache/iceberg-rust/pull/2836
   2. Introduce `AuthManager` and `AuthSession`. Then allow the `RestCatalog`+`RestSessionCatalog` to hold a manager, and use it to translate `SessionContext`s to `AuthSession`s. Introduce caching for auth sessions at catalog and table level. Add 1-2 simple reference implementations (e.g. `BasicAuthManager`) -> to be PoC'd but building on prior work from https://github.com/apache/iceberg-rust/pull/1512
   3. Wire the `SessionCatalog` into the Datafusion integration crate. Translate `datafusion::catalog::Session`s to `iceberg::SessionContext`s and propagate them to catalog functions


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org