Skip to content

Commit

Permalink
remove Statistics::has_min_max_set from the public api
Browse files Browse the repository at this point in the history
Ref: #6093
  • Loading branch information
Michael-J-Ward committed Aug 9, 2024
1 parent 7ffac1a commit 2b21daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parquet/src/file/statistics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ impl Statistics {

/// Returns `true` if min value and max value are set.
/// Normally both min/max values will be set to `Some(value)` or `None`.
pub fn has_min_max_set(&self) -> bool {
pub(crate) fn has_min_max_set(&self) -> bool {
statistics_enum_func![self, has_min_max_set]
}

Expand Down Expand Up @@ -578,7 +578,7 @@ impl<T: ParquetValueType> ValueStatistics<T> {

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

Expand Down

0 comments on commit 2b21daf

Please sign in to comment.