diff --git a/datafusion/core/src/test/object_store.rs b/datafusion/core/src/test/object_store.rs index 9ac47a12c6ce..08cebb56cc77 100644 --- a/datafusion/core/src/test/object_store.rs +++ b/datafusion/core/src/test/object_store.rs @@ -45,7 +45,7 @@ pub fn make_test_store_and_state(files: &[(&str, u64)]) -> (Arc, Sessi ( Arc::new(memory), - SessionState::with_config_rt( + SessionState::new_with_config_rt( SessionConfig::default(), Arc::new(RuntimeEnv::default()), ),