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

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


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

commit e658cb8fe9d256d58c12bc5f8c68d5604cbfab91
Author: baishen <[email protected]>
AuthorDate: Mon Jul 19 14:24:02 2021 -0500

    make has_min_max_set as pub fn (#559)
---
 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