@@ -60,7 +60,6 @@ async fn check_stats_precision_with_filter_pushdown() {
60
60
options. execution . parquet . pushdown_filters = true ;
61
61
62
62
// Scan without filter, stats are exact
63
- #[ expect( deprecated) ]
64
63
let exec = table. scan ( & state, None , & [ ] , None ) . await . unwrap ( ) ;
65
64
assert_eq ! (
66
65
exec. partition_statistics( None ) . unwrap( ) . num_rows,
@@ -72,7 +71,6 @@ async fn check_stats_precision_with_filter_pushdown() {
72
71
// (it is not a partition filter). Therefore; it will be pushed down to the
73
72
// source operator after the appropriate optimizer pass.
74
73
let filter_expr = Expr :: gt ( col ( "id" ) , lit ( 1 ) ) ;
75
- #[ expect( deprecated) ]
76
74
let exec_with_filter = table
77
75
. scan ( & state, None , std:: slice:: from_ref ( & filter_expr) , None )
78
76
. await
@@ -121,7 +119,6 @@ async fn load_table_stats_with_session_level_cache() {
121
119
122
120
//Session 1 first time list files
123
121
assert_eq ! ( get_static_cache_size( & state1) , 0 ) ;
124
- #[ expect( deprecated) ]
125
122
let exec1 = table1. scan ( & state1, None , & [ ] , None ) . await . unwrap ( ) ;
126
123
127
124
assert_eq ! (
@@ -138,7 +135,6 @@ async fn load_table_stats_with_session_level_cache() {
138
135
//Session 2 first time list files
139
136
//check session 1 cache result not show in session 2
140
137
assert_eq ! ( get_static_cache_size( & state2) , 0 ) ;
141
- #[ expect( deprecated) ]
142
138
let exec2 = table2. scan ( & state2, None , & [ ] , None ) . await . unwrap ( ) ;
143
139
assert_eq ! (
144
140
exec2. partition_statistics( None ) . unwrap( ) . num_rows,
@@ -154,7 +150,6 @@ async fn load_table_stats_with_session_level_cache() {
154
150
//Session 1 second time list files
155
151
//check session 1 cache result not show in session 2
156
152
assert_eq ! ( get_static_cache_size( & state1) , 1 ) ;
157
- #[ expect( deprecated) ]
158
153
let exec3 = table1. scan ( & state1, None , & [ ] , None ) . await . unwrap ( ) ;
159
154
assert_eq ! (
160
155
exec3. partition_statistics( None ) . unwrap( ) . num_rows,
@@ -200,7 +195,6 @@ async fn list_files_with_session_level_cache() {
200
195
201
196
//Session 1 first time list files
202
197
assert_eq ! ( get_list_file_cache_size( & state1) , 0 ) ;
203
- #[ expect( deprecated) ]
204
198
let exec1 = table1. scan ( & state1, None , & [ ] , None ) . await . unwrap ( ) ;
205
199
let data_source_exec = exec1. as_any ( ) . downcast_ref :: < DataSourceExec > ( ) . unwrap ( ) ;
206
200
let data_source = data_source_exec. data_source ( ) ;
@@ -217,7 +211,6 @@ async fn list_files_with_session_level_cache() {
217
211
//Session 2 first time list files
218
212
//check session 1 cache result not show in session 2
219
213
assert_eq ! ( get_list_file_cache_size( & state2) , 0 ) ;
220
- #[ expect( deprecated) ]
221
214
let exec2 = table2. scan ( & state2, None , & [ ] , None ) . await . unwrap ( ) ;
222
215
let data_source_exec = exec2. as_any ( ) . downcast_ref :: < DataSourceExec > ( ) . unwrap ( ) ;
223
216
let data_source = data_source_exec. data_source ( ) ;
@@ -234,7 +227,6 @@ async fn list_files_with_session_level_cache() {
234
227
//Session 1 second time list files
235
228
//check session 1 cache result not show in session 2
236
229
assert_eq ! ( get_list_file_cache_size( & state1) , 1 ) ;
237
- #[ expect( deprecated) ]
238
230
let exec3 = table1. scan ( & state1, None , & [ ] , None ) . await . unwrap ( ) ;
239
231
let data_source_exec = exec3. as_any ( ) . downcast_ref :: < DataSourceExec > ( ) . unwrap ( ) ;
240
232
let data_source = data_source_exec. data_source ( ) ;
0 commit comments