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

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


The following commit(s) were added to refs/heads/main by this push:
     new 977e395f5 fix docstring for statistics (#6798)
977e395f5 is described below

commit 977e395f5066cbc98aafeeb94802e9f270a595df
Author: Ed Seidl <[email protected]>
AuthorDate: Tue Nov 26 00:33:40 2024 -0800

    fix docstring for statistics (#6798)
---
 parquet/src/file/properties.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/parquet/src/file/properties.rs b/parquet/src/file/properties.rs
index f4f610ab9..49980f525 100644
--- a/parquet/src/file/properties.rs
+++ b/parquet/src/file/properties.rs
@@ -858,7 +858,7 @@ impl ColumnProperties {
         self.dictionary_enabled = Some(enabled);
     }
 
-    /// Sets whether or not statistics are enabled for this column.
+    /// Sets the statistics level for this column.
     fn set_statistics_enabled(&mut self, enabled: EnabledStatistics) {
         self.statistics_enabled = Some(enabled);
     }
@@ -921,8 +921,8 @@ impl ColumnProperties {
         self.dictionary_enabled
     }
 
-    /// Returns `Some(true)` if statistics are enabled for this column, if 
disabled then
-    /// returns `Some(false)`. If result is `None`, then no setting has been 
provided.
+    /// Returns optional statistics level requested for this column. If result 
is `None`,
+    /// then no setting has been provided.
     fn statistics_enabled(&self) -> Option<EnabledStatistics> {
         self.statistics_enabled
     }

Reply via email to