pepijnve commented on code in PR #25112:
URL: https://github.com/apache/datafusion/pull/25112#discussion_r4071580003
##########
datafusion/core/src/execution/session_state.rs:
##########
@@ -494,6 +507,18 @@ impl SessionState {
&mut Arc::make_mut(&mut self.inner).table_factories
}
+ /// Get the catalog factories
+ pub fn catalog_factories(&self) -> &HashMap<String, Arc<dyn
CatalogProviderFactory>> {
+ &self.inner.catalog_factories
+ }
+
+ /// Get the catalog factories
Review Comment:
Funny how well AI follows existing patterns. It clearly got this from
`table_factories_mut`. If adjusted the doc for that function as well.
--
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]