From b7f0ccc8460b60b336f5a726eb14968968f3a709 Mon Sep 17 00:00:00 2001 From: yangjiang Date: Sat, 7 Oct 2023 13:26:45 +0800 Subject: [PATCH] fix api change2 --- datafusion/core/src/test/object_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()), ),