File tree Expand file tree Collapse file tree
benchmarks/datafusion-bench/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ async fn register_v2_tables<B: Benchmark + ?Sized>(
316316 None => format ! ( "*.{}" , format. ext( ) ) ,
317317 } ;
318318
319- let ( multi_ds, _ ) = MultiFileDataSource :: new ( SESSION . clone ( ) )
319+ let multi_ds = MultiFileDataSource :: new ( SESSION . clone ( ) )
320320 . with_glob ( glob_pattern, Some ( fs) )
321321 . build ( )
322322 . await ?;
Original file line number Diff line number Diff line change @@ -146,22 +146,6 @@ impl FileStatistics {
146146 pub fn get ( & self , field_idx : usize ) -> ( & StatsSet , & DType ) {
147147 ( & self . stats [ field_idx] , & self . dtypes [ field_idx] )
148148 }
149-
150- pub fn merge ( self , other : & FileStatistics ) -> VortexResult < FileStatistics > {
151- vortex_ensure_eq ! ( self . stats. len( ) , other. stats_sets( ) . len( ) ) ;
152-
153- let FileStatistics { mut stats, dtypes } = self ;
154- for ( this, other_stat, dtype) in itertools:: izip!(
155- Arc :: make_mut( & mut stats) . iter_mut( ) ,
156- other. stats_sets( ) . iter( ) ,
157- dtypes. iter( )
158- ) {
159- let owned = std:: mem:: take ( this) ;
160- * this = owned. merge_unordered ( other_stat, dtype) ;
161- }
162-
163- Ok ( FileStatistics :: new ( stats, dtypes) )
164- }
165149}
166150
167151impl < ' a > IntoIterator for & ' a FileStatistics {
You can’t perform that action at this time.
0 commit comments