DerGut commented on code in PR #3081:
URL: https://github.com/apache/iceberg-rust/pull/3081#discussion_r4206790648
##########
crates/catalog/rest/src/catalog.rs:
##########
@@ -891,13 +937,14 @@ impl RestSessionCatalog {
impl SessionCatalog for RestSessionCatalog {
async fn list_namespaces(
&self,
- _context: &SessionContext,
+ context: &SessionContext,
parent: Option<&NamespaceIdent>,
) -> Result<Vec<NamespaceIdent>> {
let client = self.client().await?;
let endpoint = client.config.namespaces_endpoint();
let mut namespaces = Vec::new();
let mut next_token = None;
+ let session = client.contextual_session(context).await?;
Review Comment:
https://github.com/apache/iceberg-rust/pull/3081/commits/3046937e553280ef394b71224535422b39ea02d7
--
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]