pepijnve commented on code in PR #25112:
URL: https://github.com/apache/datafusion/pull/25112#discussion_r4070919614


##########
datafusion/core/src/execution/session_state.rs:
##########
@@ -1556,6 +1584,27 @@ impl SessionStateBuilder {
         self
     }
 
+    /// Add a [`CatalogProviderFactory`] to the map of factories
+    pub fn with_catalog_factory(
+        mut self,
+        key: String,
+        catalog_factory: Arc<dyn CatalogProviderFactory>,
+    ) -> Self {
+        let mut catalog_factories = self.catalog_factories.unwrap_or_default();

Review Comment:
   Adjusted



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