WaterWhisperer commented on code in PR #9051:
URL: https://github.com/apache/arrow-rs/pull/9051#discussion_r2649488071


##########
parquet/src/file/metadata/reader.rs:
##########
@@ -152,6 +152,20 @@ impl ParquetMetaDataReader {
             .with_offset_index_policy(policy)
     }
 
+    /// Sets whether to read [`PageEncodingStats`] as a bitmask.
+    ///
+    /// See [`ParquetMetaDataOptions::with_encoding_stats_as_mask`] for more 
details.
+    pub fn with_encoding_stats_as_mask(mut self, val: bool) -> Self {
+        let mut options = self
+            .metadata_options
+            .as_deref()
+            .cloned()
+            .unwrap_or_default();
+        options = options.with_encoding_stats_as_mask(val);
+        self.metadata_options = Some(Arc::new(options));
+        self
+    }
+

Review Comment:
   Understood, thanks for the review



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to