Skip to content

Commit

Permalink
Bump deprecated version of SessionState::new_with_config_rt to 41.0.0 (
Browse files Browse the repository at this point in the history
…#11839)

SessionState::new_with_config_rt was deprecated in favor of
SessionStateBuilder in #11403 which is not shipped in 40.x.
  • Loading branch information
kezhuw committed Aug 6, 2024
1 parent bf51bab commit d8bc7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/core/src/execution/session_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d8bc7e2

Please sign in to comment.