@@ -60,7 +60,6 @@ async fn check_stats_precision_with_filter_pushdown() {
6060 options. execution . parquet . pushdown_filters = true ;
6161
6262 // Scan without filter, stats are exact
63- #[ expect( deprecated) ]
6463 let exec = table. scan ( & state, None , & [ ] , None ) . await . unwrap ( ) ;
6564 assert_eq ! (
6665 exec. partition_statistics( None ) . unwrap( ) . num_rows,
@@ -72,7 +71,6 @@ async fn check_stats_precision_with_filter_pushdown() {
7271 // (it is not a partition filter). Therefore; it will be pushed down to the
7372 // source operator after the appropriate optimizer pass.
7473 let filter_expr = Expr :: gt ( col ( "id" ) , lit ( 1 ) ) ;
75- #[ expect( deprecated) ]
7674 let exec_with_filter = table
7775 . scan ( & state, None , std:: slice:: from_ref ( & filter_expr) , None )
7876 . await
@@ -121,7 +119,6 @@ async fn load_table_stats_with_session_level_cache() {
121119
122120 //Session 1 first time list files
123121 assert_eq ! ( get_static_cache_size( & state1) , 0 ) ;
124- #[ expect( deprecated) ]
125122 let exec1 = table1. scan ( & state1, None , & [ ] , None ) . await . unwrap ( ) ;
126123
127124 assert_eq ! (
@@ -138,7 +135,6 @@ async fn load_table_stats_with_session_level_cache() {
138135 //Session 2 first time list files
139136 //check session 1 cache result not show in session 2
140137 assert_eq ! ( get_static_cache_size( & state2) , 0 ) ;
141- #[ expect( deprecated) ]
142138 let exec2 = table2. scan ( & state2, None , & [ ] , None ) . await . unwrap ( ) ;
143139 assert_eq ! (
144140 exec2. partition_statistics( None ) . unwrap( ) . num_rows,
@@ -154,7 +150,6 @@ async fn load_table_stats_with_session_level_cache() {
154150 //Session 1 second time list files
155151 //check session 1 cache result not show in session 2
156152 assert_eq ! ( get_static_cache_size( & state1) , 1 ) ;
157- #[ expect( deprecated) ]
158153 let exec3 = table1. scan ( & state1, None , & [ ] , None ) . await . unwrap ( ) ;
159154 assert_eq ! (
160155 exec3. partition_statistics( None ) . unwrap( ) . num_rows,
@@ -200,7 +195,6 @@ async fn list_files_with_session_level_cache() {
200195
201196 //Session 1 first time list files
202197 assert_eq ! ( get_list_file_cache_size( & state1) , 0 ) ;
203- #[ expect( deprecated) ]
204198 let exec1 = table1. scan ( & state1, None , & [ ] , None ) . await . unwrap ( ) ;
205199 let data_source_exec = exec1. as_any ( ) . downcast_ref :: < DataSourceExec > ( ) . unwrap ( ) ;
206200 let data_source = data_source_exec. data_source ( ) ;
@@ -217,7 +211,6 @@ async fn list_files_with_session_level_cache() {
217211 //Session 2 first time list files
218212 //check session 1 cache result not show in session 2
219213 assert_eq ! ( get_list_file_cache_size( & state2) , 0 ) ;
220- #[ expect( deprecated) ]
221214 let exec2 = table2. scan ( & state2, None , & [ ] , None ) . await . unwrap ( ) ;
222215 let data_source_exec = exec2. as_any ( ) . downcast_ref :: < DataSourceExec > ( ) . unwrap ( ) ;
223216 let data_source = data_source_exec. data_source ( ) ;
@@ -234,7 +227,6 @@ async fn list_files_with_session_level_cache() {
234227 //Session 1 second time list files
235228 //check session 1 cache result not show in session 2
236229 assert_eq ! ( get_list_file_cache_size( & state1) , 1 ) ;
237- #[ expect( deprecated) ]
238230 let exec3 = table1. scan ( & state1, None , & [ ] , None ) . await . unwrap ( ) ;
239231 let data_source_exec = exec3. as_any ( ) . downcast_ref :: < DataSourceExec > ( ) . unwrap ( ) ;
240232 let data_source = data_source_exec. data_source ( ) ;
0 commit comments