This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch active_release
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/active_release by this push:
     new 332baca  make has_min_max_set as pub fn (#559) (#566)
332baca is described below

commit 332baca3ed24b516bb166f931db39f6bad19fab8
Author: Andrew Lamb <[email protected]>
AuthorDate: Tue Jul 20 07:26:21 2021 -0400

    make has_min_max_set as pub fn (#559) (#566)
    
    Co-authored-by: baishen <[email protected]>
---
 parquet/src/file/statistics.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parquet/src/file/statistics.rs b/parquet/src/file/statistics.rs
index 4f5d0e9..40db3c1 100644
--- a/parquet/src/file/statistics.rs
+++ b/parquet/src/file/statistics.rs
@@ -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()
     }
 

Reply via email to