File tree 3 files changed +7
-7
lines changed 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;
20
20
use futures:: channel:: oneshot;
21
21
use futures:: future:: join_all;
22
22
use futures:: { StreamExt , TryStreamExt } ;
23
- use tokio:: sync:: oneshot:: { channel , Receiver } ;
23
+ use tokio:: sync:: oneshot:: { Receiver , channel } ;
24
24
25
25
use super :: delete_filter:: { DeleteFilter , EqDelFuture } ;
26
26
use crate :: arrow:: delete_file_loader:: BasicDeleteFileLoader ;
@@ -91,9 +91,9 @@ impl CachingDeleteFileLoader {
91
91
/// * The unbound Predicates resulting from equality deletes are sent to their associated oneshot
92
92
/// channel to store them in the right place in the delete file managers state.
93
93
/// * 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.
97
97
///
98
98
///
99
99
/// 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;
19
19
20
20
use futures:: { StreamExt , TryStreamExt } ;
21
21
22
- use crate :: arrow:: record_batch_transformer:: RecordBatchTransformer ;
23
22
use crate :: arrow:: ArrowReader ;
23
+ use crate :: arrow:: record_batch_transformer:: RecordBatchTransformer ;
24
24
use crate :: io:: FileIO ;
25
25
use crate :: scan:: { ArrowRecordBatchStream , FileScanTaskDeleteFile } ;
26
26
use crate :: spec:: { Schema , SchemaRef } ;
Original file line number Diff line number Diff line change 17
17
18
18
use std:: ops:: BitOrAssign ;
19
19
20
+ use roaring:: RoaringTreemap ;
20
21
use roaring:: bitmap:: Iter ;
21
22
use roaring:: treemap:: BitmapIter ;
22
- use roaring:: RoaringTreemap ;
23
23
24
24
#[ derive( Debug , Default ) ]
25
25
pub struct DeleteVector {
@@ -63,7 +63,7 @@ impl Iterator for DeleteVectorIterator<'_> {
63
63
type Item = u64 ;
64
64
65
65
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 {
67
67
if let Some ( inner_next) = inner. bitmap_iter . next ( ) {
68
68
return Some ( u64:: from ( inner. high_bits ) << 32 | u64:: from ( inner_next) ) ;
69
69
}
You can’t perform that action at this time.
0 commit comments