Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jan 24, 2024
1 parent d8d327a commit 6a9d76b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ mod tests {
array::{Int64Array, Int8Array, StringArray},
datatypes::{DataType, Field, SchemaBuilder},
};
use arrow_array::{Date64Array, StructArray};
use arrow_array::{Date64Array, StructArray};
use arrow_schema::Fields;
use chrono::{TimeZone, Utc};
use datafusion_common::{assert_contains, ToDFSchema};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ impl PagePruningPredicate {
fn find_column_index(
predicate: &PruningPredicate,
arrow_schema: &Schema,
parquet_schema: &SchemaDescriptor
parquet_schema: &SchemaDescriptor,
) -> Option<usize> {
let mut found_required_column: Option<&Column> = None;

Expand All @@ -278,8 +278,7 @@ fn find_column_index(
return None;
};

parquet_column(parquet_schema, arrow_schema, column.name())
.map(|x| x.0)
parquet_column(parquet_schema, arrow_schema, column.name()).map(|x| x.0)
}

/// Intersects the [`RowSelector`]s
Expand Down

0 comments on commit 6a9d76b

Please sign in to comment.