Skip to content

Commit

Permalink
make has_min_max_set as pub fn (#559) (#566)
Browse files Browse the repository at this point in the history
Co-authored-by: baishen <baishen2009@gmail.com>
  • Loading branch information
alamb and b41sh authored Jul 20, 2021
1 parent 2998db4 commit 332baca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parquet/src/file/statistics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ impl<T: DataType> TypedStatistics<T> {

/// Whether or not min and max values are set.
/// Normally both min/max values will be set to `Some(value)` or `None`.
fn has_min_max_set(&self) -> bool {
pub fn has_min_max_set(&self) -> bool {
self.min.is_some() && self.max.is_some()
}

Expand Down

0 comments on commit 332baca

Please sign in to comment.