refactor: address Jake's comment
parent
41aa4d5475
commit
b3e110a241
|
@ -301,7 +301,7 @@ impl Storage {
|
||||||
if let Err(e) = Self::read_file(
|
if let Err(e) = Self::read_file(
|
||||||
filename,
|
filename,
|
||||||
projection.as_slice(),
|
projection.as_slice(),
|
||||||
&predicate_builder,
|
predicate_builder.as_ref(),
|
||||||
batch_size,
|
batch_size,
|
||||||
response_tx,
|
response_tx,
|
||||||
limit,
|
limit,
|
||||||
|
@ -331,7 +331,7 @@ impl Storage {
|
||||||
fn read_file(
|
fn read_file(
|
||||||
filename: String,
|
filename: String,
|
||||||
projection: &[usize],
|
projection: &[usize],
|
||||||
predicate_builder: &Option<RowGroupPredicateBuilder>,
|
predicate_builder: Option<&RowGroupPredicateBuilder>,
|
||||||
batch_size: usize,
|
batch_size: usize,
|
||||||
response_tx: Sender<ArrowResult<RecordBatch>>,
|
response_tx: Sender<ArrowResult<RecordBatch>>,
|
||||||
limit: Option<usize>,
|
limit: Option<usize>,
|
||||||
|
|
Loading…
Reference in New Issue