We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
register_catalog_list
1 parent 3f62492 commit e3b0d7dCopy full SHA for e3b0d7d
datafusion/core/src/execution/session_state.rs
@@ -104,11 +104,11 @@ use uuid::Uuid;
104
/// # #[tokio::main]
105
/// # async fn main() -> Result<()> {
106
/// let state = SessionStateBuilder::new()
107
-/// .with_config(SessionConfig::new())
+/// .with_config(SessionConfig::new())
108
/// .with_runtime_env(Arc::new(RuntimeEnv::default()))
109
/// .with_default_features()
110
/// .build();
111
-/// Ok(())
+/// Ok(())
112
/// # }
113
/// ```
114
///
@@ -876,7 +876,7 @@ impl SessionState {
876
}
877
878
/// set the catalog list
879
- pub(crate) fn register_catalog_list(
+ pub fn register_catalog_list(
880
&mut self,
881
catalog_list: Arc<dyn CatalogProviderList>,
882
) {
0 commit comments