File tree 2 files changed +2
-2
lines changed
datafusion/core/src/datasource/listing
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ pub fn split_files(
141
141
let chunk_size = ( partitioned_files. len ( ) + n - 1 ) / n;
142
142
partitioned_files
143
143
. chunks_mut ( chunk_size)
144
- . map ( |c| c. iter_mut ( ) . map ( |p| mem:: take ( p ) ) . collect ( ) )
144
+ . map ( |c| c. iter_mut ( ) . map ( mem:: take) . collect ( ) )
145
145
. collect ( )
146
146
}
147
147
Original file line number Diff line number Diff line change @@ -1015,7 +1015,7 @@ impl ListingTable {
1015
1015
part_file : & PartitionedFile ,
1016
1016
) -> Result < Arc < Statistics > > {
1017
1017
let statistics_cache = self . collected_statistics . clone ( ) ;
1018
- return match statistics_cache
1018
+ match statistics_cache
1019
1019
. get_with_extra ( & part_file. object_meta . location , & part_file. object_meta )
1020
1020
{
1021
1021
Some ( statistics) => Ok ( statistics. clone ( ) ) ,
You can’t perform that action at this time.
0 commit comments