@@ -312,13 +312,6 @@ impl SessionContext {
312
312
Self :: new_with_config_rt ( config, runtime)
313
313
}
314
314
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
-
322
315
/// Creates a new `SessionContext` using the provided
323
316
/// [`SessionConfig`] and a [`RuntimeEnv`].
324
317
///
@@ -341,13 +334,6 @@ impl SessionContext {
341
334
Self :: new_with_state ( state)
342
335
}
343
336
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
-
351
337
/// Creates a new `SessionContext` using the provided [`SessionState`]
352
338
pub fn new_with_state ( state : SessionState ) -> Self {
353
339
Self {
@@ -404,11 +390,6 @@ impl SessionContext {
404
390
ctx
405
391
}
406
392
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
- }
412
393
/// Returns the time this `SessionContext` was created
413
394
pub fn session_start_time ( & self ) -> DateTime < Utc > {
414
395
self . session_start_time
0 commit comments