Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted-Jiang committed May 11, 2023
1 parent 78d7a17 commit 12c813d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datafusion/core/src/physical_plan/file_format/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,10 @@ fn should_enable_page_index(
) -> bool {
enable_page_index
&& page_pruning_predicate.is_some()
&& page_pruning_predicate.as_ref().map(|p| p.filter_number() > 0).unwrap_or(false)
&& page_pruning_predicate
.as_ref()
.map(|p| p.filter_number() > 0)
.unwrap_or(false)
}

/// Factory of parquet file readers.
Expand Down

0 comments on commit 12c813d

Please sign in to comment.