From 2b21daf4cc4387a77a265b5de014074eecb447c8 Mon Sep 17 00:00:00 2001 From: Michael-J-Ward Date: Fri, 9 Aug 2024 03:15:10 -0500 Subject: [PATCH] remove Statistics::has_min_max_set from the public api Ref: https://github.com/apache/arrow-rs/issues/6093 --- parquet/src/file/statistics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parquet/src/file/statistics.rs b/parquet/src/file/statistics.rs index 54ee5151221a..3a479e990473 100644 --- a/parquet/src/file/statistics.rs +++ b/parquet/src/file/statistics.rs @@ -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] } @@ -578,7 +578,7 @@ impl ValueStatistics { /// 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() }