File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
datafusion/core/src/datasource/listing Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1251,13 +1251,10 @@ async fn get_files_with_limit(
12511251 }
12521252 }
12531253 }
1254- let mut inexact_stats = false ;
1255- if all_files. next ( ) . await . is_some ( ) {
1256- // If we still have files in the stream, it means that the limit kicked
1257- // in, and the statistic could have been different had we processed the
1258- // files in a different order.
1259- inexact_stats = true ;
1260- }
1254+ // If we still have files in the stream, it means that the limit kicked
1255+ // in, and the statistic could have been different had we processed the
1256+ // files in a different order.
1257+ let inexact_stats = all_files. next ( ) . await . is_some ( ) ;
12611258 Ok ( ( file_group, inexact_stats) )
12621259}
12631260
You can’t perform that action at this time.
0 commit comments