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 @@ -1008,7 +1008,7 @@ impl ListingTable {
1008
1008
part_file : & PartitionedFile ,
1009
1009
) -> Result < Arc < Statistics > > {
1010
1010
let statistics_cache = self . collected_statistics . clone ( ) ;
1011
- return match statistics_cache
1011
+ match statistics_cache
1012
1012
. get_with_extra ( & part_file. object_meta . location , & part_file. object_meta )
1013
1013
{
1014
1014
Some ( statistics) => Ok ( statistics. clone ( ) ) ,
You can’t perform that action at this time.
0 commit comments