kou commented on code in PR #45350:
URL: https://github.com/apache/arrow/pull/45350#discussion_r1931950787


##########
cpp/src/parquet/properties.h:
##########
@@ -913,7 +913,8 @@ class PARQUET_EXPORT ArrowReaderProperties {
         pre_buffer_(true),
         cache_options_(::arrow::io::CacheOptions::LazyDefaults()),
         coerce_int96_timestamp_unit_(::arrow::TimeUnit::NANO),
-        arrow_extensions_enabled_(false) {}
+        arrow_extensions_enabled_(false),
+        should_load_statistics_(false) {}

Review Comment:
   It's for performance.
   The current implementation may concatenate multiple Parquet column data in 
multiple row groups to one Arrow array. If we always load statistics, we can't 
do it. Because we don't have statistics merge implementation. If we have a 
statistics merge implementation, we can use `true` here. Because we can still 
concatenate multiple Parquet column data in multiple row groups to one Arrow 
array even when we load statistics.



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