File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ use std::collections::HashMap;
2020use futures:: channel:: oneshot;
2121use futures:: future:: join_all;
2222use futures:: { StreamExt , TryStreamExt } ;
23- use tokio:: sync:: oneshot:: { channel , Receiver } ;
23+ use tokio:: sync:: oneshot:: { Receiver , channel } ;
2424
2525use super :: delete_filter:: { DeleteFilter , EqDelFuture } ;
2626use crate :: arrow:: delete_file_loader:: BasicDeleteFileLoader ;
@@ -91,9 +91,9 @@ impl CachingDeleteFileLoader {
9191 /// * The unbound Predicates resulting from equality deletes are sent to their associated oneshot
9292 /// channel to store them in the right place in the delete file managers state.
9393 /// * The results of all of these futures are awaited on in parallel with the specified
94- /// level of concurrency and collected into a vec. We then combine all the delete
95- /// vector maps that resulted from any positional delete or delete vector files into a
96- /// single map and persist it in the state.
94+ /// level of concurrency and collected into a vec. We then combine all the delete
95+ /// vector maps that resulted from any positional delete or delete vector files into a
96+ /// single map and persist it in the state.
9797 ///
9898 ///
9999 /// Conceptually, the data flow is like this:
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ use std::sync::Arc;
1919
2020use futures:: { StreamExt , TryStreamExt } ;
2121
22- use crate :: arrow:: record_batch_transformer:: RecordBatchTransformer ;
2322use crate :: arrow:: ArrowReader ;
23+ use crate :: arrow:: record_batch_transformer:: RecordBatchTransformer ;
2424use crate :: io:: FileIO ;
2525use crate :: scan:: { ArrowRecordBatchStream , FileScanTaskDeleteFile } ;
2626use crate :: spec:: { Schema , SchemaRef } ;
Original file line number Diff line number Diff line change 1717
1818use std:: ops:: BitOrAssign ;
1919
20+ use roaring:: RoaringTreemap ;
2021use roaring:: bitmap:: Iter ;
2122use roaring:: treemap:: BitmapIter ;
22- use roaring:: RoaringTreemap ;
2323
2424#[ derive( Debug , Default ) ]
2525pub struct DeleteVector {
@@ -63,7 +63,7 @@ impl Iterator for DeleteVectorIterator<'_> {
6363 type Item = u64 ;
6464
6565 fn next ( & mut self ) -> Option < Self :: Item > {
66- if let Some ( ref mut inner) = & mut self . inner {
66+ if let Some ( inner) = & mut self . inner {
6767 if let Some ( inner_next) = inner. bitmap_iter . next ( ) {
6868 return Some ( u64:: from ( inner. high_bits ) << 32 | u64:: from ( inner_next) ) ;
6969 }
You can’t perform that action at this time.
0 commit comments