tustvold commented on code in PR #5183:
URL: https://github.com/apache/arrow-rs/pull/5183#discussion_r1420777279


##########
parquet/src/column/writer/mod.rs:
##########
@@ -329,28 +329,11 @@ impl<'a, E: ColumnValueEncoder> GenericColumnWriter<'a, 
E> {
             None => values.len(),
         };
 
-        // If only computing chunk-level statistics compute them here, 
page-level statistics
-        // are computed in [`Self::write_mini_batch`] and used to update chunk 
statistics in
-        // [`Self::add_data_page`]
-        if self.statistics_enabled == EnabledStatistics::Chunk

Review Comment:
   Potentially for byte arrays you will have additional allocations per page, 
where previously you would have them per chunk. In practice this is extremely 
unlikely to matter.



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