We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aca5f27 commit 64525b8Copy full SHA for 64525b8
datafusion/catalog/src/session.rs
@@ -28,6 +28,13 @@ use std::any::Any;
28
use std::collections::HashMap;
29
use std::sync::Arc;
30
31
+/// Execution context which access to the session state kept by DataFusion.
32
+///
33
+/// Note that this trait is implemented by the DataFusion core, and you typically
34
+/// do not need to implement it. When this trait is backed by the core's
35
+/// `SessionState` you can unwrap it using a `downcast_ref`
36
+/// (`.as_any().downcast_ref::<SessionState>().unwrap()`). This functionality
37
+/// is provided to facilitate transition period, avoid depending on it.
38
#[async_trait]
39
pub trait CatalogSession: Send + Sync {
40
/// Return the session ID
0 commit comments