@@ -312,13 +312,6 @@ impl SessionContext {
312312 Self :: new_with_config_rt ( config, runtime)
313313 }
314314
315- /// Creates a new `SessionContext` using the provided
316- /// [`SessionConfig`] and a new [`RuntimeEnv`].
317- #[ deprecated( since = "32.0.0" , note = "Use SessionContext::new_with_config" ) ]
318- pub fn with_config ( config : SessionConfig ) -> Self {
319- Self :: new_with_config ( config)
320- }
321-
322315 /// Creates a new `SessionContext` using the provided
323316 /// [`SessionConfig`] and a [`RuntimeEnv`].
324317 ///
@@ -341,13 +334,6 @@ impl SessionContext {
341334 Self :: new_with_state ( state)
342335 }
343336
344- /// Creates a new `SessionContext` using the provided
345- /// [`SessionConfig`] and a [`RuntimeEnv`].
346- #[ deprecated( since = "32.0.0" , note = "Use SessionState::new_with_config_rt" ) ]
347- pub fn with_config_rt ( config : SessionConfig , runtime : Arc < RuntimeEnv > ) -> Self {
348- Self :: new_with_config_rt ( config, runtime)
349- }
350-
351337 /// Creates a new `SessionContext` using the provided [`SessionState`]
352338 pub fn new_with_state ( state : SessionState ) -> Self {
353339 Self {
@@ -404,11 +390,6 @@ impl SessionContext {
404390 ctx
405391 }
406392
407- /// Creates a new `SessionContext` using the provided [`SessionState`]
408- #[ deprecated( since = "32.0.0" , note = "Use SessionContext::new_with_state" ) ]
409- pub fn with_state ( state : SessionState ) -> Self {
410- Self :: new_with_state ( state)
411- }
412393 /// Returns the time this `SessionContext` was created
413394 pub fn session_start_time ( & self ) -> DateTime < Utc > {
414395 self . session_start_time
0 commit comments