Skip to content

Apache DataFusion SQL Query Engine

Bump deprecated version of SessionState::new_with_config_rt to 41.0.0 (#11839)

Kezhu Wangd8bc7e2e6c50
diff --git a/datafusion/core/src/execution/session_state.rs b/datafusion/core/src/execution/session_state.rs
index ccad0240fd..0a057d6f14 100644
--- a/datafusion/core/src/execution/session_state.rs
+++ b/datafusion/core/src/execution/session_state.rs
@@ -249,7 +249,7 @@ impl Session for SessionState {
impl SessionState {
/// Returns new [`SessionState`] using the provided
/// [`SessionConfig`] and [`RuntimeEnv`].
- #[deprecated(since = "40.0.0", note = "Use SessionStateBuilder")]
+ #[deprecated(since = "41.0.0", note = "Use SessionStateBuilder")]
pub fn new_with_config_rt(config: SessionConfig, runtime: Arc<RuntimeEnv>) -> Self {
SessionStateBuilder::new()
.with_config(config)