This is an automated email from the ASF dual-hosted git repository.
sunchao pushed a commit to branch any
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/any by this push:
new e0b3105 Replace ambiguous Any with All in comments (#1126)
e0b3105 is described below
commit e0b3105ab82c652e523df3df02d23fc808f9c0e9
Author: Dominik Moritz <[email protected]>
AuthorDate: Tue Jan 4 12:29:14 2022 -0500
Replace ambiguous Any with All in comments (#1126)
---
parquet/src/file/properties.rs | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/parquet/src/file/properties.rs b/parquet/src/file/properties.rs
index c48e4e7..a44bbba 100644
--- a/parquet/src/file/properties.rs
+++ b/parquet/src/file/properties.rs
@@ -308,13 +308,13 @@ impl WriterPropertiesBuilder {
}
// ----------------------------------------------------------------------
- // Setters for any column (global)
+ // Setters for all columns
- /// Sets encoding for any column.
+ /// Sets encoding for all columns.
///
- /// If dictionary is not enabled, this is treated as a primary encoding
for all
- /// columns. In case when dictionary is enabled for any column, this value
is
- /// considered to be a fallback encoding for that column.
+ /// If dictionary is not enabled, the provided value is treated as a
primary
+ /// encoding for all columns. When dictionary is enabled for a column, this
+ /// value is considered to be a fallback encoding for that column.
///
/// Panics if user tries to set dictionary encoding here, regardless of
dictionary
/// encoding flag being set.
@@ -323,13 +323,13 @@ impl WriterPropertiesBuilder {
self
}
- /// Sets compression codec for any column.
+ /// Sets compression codec for all columns.
pub fn set_compression(mut self, value: Compression) -> Self {
self.default_column_properties.set_compression(value);
self
}
- /// Sets flag to enable/disable dictionary encoding for any column.
+ /// Sets flag to enable/disable dictionary encoding for all columns.
///
/// Use this method to set dictionary encoding, instead of explicitly
specifying
/// encoding in `set_encoding` method.
@@ -338,13 +338,13 @@ impl WriterPropertiesBuilder {
self
}
- /// Sets flag to enable/disable statistics for any column.
+ /// Sets flag to enable/disable statistics for all columns.
pub fn set_statistics_enabled(mut self, value: bool) -> Self {
self.default_column_properties.set_statistics_enabled(value);
self
}
- /// Sets max statistics size for any column.
+ /// Sets max statistics size for all columns.
/// Applicable only if statistics are enabled.
pub fn set_max_statistics_size(mut self, value: usize) -> Self {
self.default_column_properties