You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2021/07/20 11:26:27 UTC
[arrow-rs] branch active_release updated: make has_min_max_set as
pub fn (#559) (#566)
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 <an...@nerdnetworks.org>
AuthorDate: Tue Jul 20 07:26:21 2021 -0400
make has_min_max_set as pub fn (#559) (#566)
Co-authored-by: baishen <ba...@gmail.com>
---
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()
}