kaushiksrini commented on code in PR #8225:
URL: https://github.com/apache/arrow-rs/pull/8225#discussion_r2377654704


##########
parquet/src/file/metadata/mod.rs:
##########
@@ -1430,6 +1444,12 @@ impl ColumnChunkMetaDataBuilder {
         self
     }
 
+    /// Sets geospatial statistics for this column chunk.
+    pub fn set_geo_statistics(mut self, value: 
geo_statistics::GeospatialStatistics) -> Self {
+        self.0.geo_statistics = Some(Box::new(value));

Review Comment:
   Left it as is since I felt the user doesn't necessarily need to know the 
memory-level implementation details, and there's no performance difference 
(`Box::new` moves rather than copies). However, open to suggestions!



-- 
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