wgtmac commented on code in PR #35455:
URL: https://github.com/apache/arrow/pull/35455#discussion_r1186610501


##########
cpp/src/parquet/column_writer.cc:
##########
@@ -479,7 +483,11 @@ class SerializedPageWriter : public PageWriter {
         page.repetition_levels_byte_length());
 
     data_page_header.__set_is_compressed(page.is_compressed());
-    data_page_header.__set_statistics(ToThrift(page.statistics()));
+
+    // Write page statistics only when page index is not enabled.

Review Comment:
   In this case, the page stats in the header is also not very useful. Actually 
in the parquet-mr, it does not write page stats into the header any more.



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