From 48232ec4ba7adc3bab01365c4e43d5e7756e5e61 Mon Sep 17 00:00:00 2001 From: yangjiang Date: Sat, 7 Oct 2023 11:34:39 +0800 Subject: [PATCH] fix api change --- datafusion/core/tests/parquet/file_statistics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/core/tests/parquet/file_statistics.rs b/datafusion/core/tests/parquet/file_statistics.rs index 7a008fb6d19e..ad4dcf65065f 100644 --- a/datafusion/core/tests/parquet/file_statistics.rs +++ b/datafusion/core/tests/parquet/file_statistics.rs @@ -155,7 +155,7 @@ async fn get_listing_table( ) -> ListingTable { let schema = opt .infer_schema( - &SessionState::with_config_rt( + &SessionState::new_with_config_rt( SessionConfig::default(), Arc::new(RuntimeEnv::default()), ),