wgtmac commented on code in PR #3586:
URL: https://github.com/apache/parquet-java/pull/3586#discussion_r3297094828


##########
parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnValueCollector.java:
##########
@@ -54,6 +58,7 @@ class ColumnValueCollector {
   }
 
   void resetPageStatistics() {
+    this.nullCount = 0;
     this.statistics = statisticsEnabled
         ? Statistics.createStats(path.getPrimitiveType())
         : Statistics.noopStats(path.getPrimitiveType());

Review Comment:
   Is it possible to change `Statistics.noopStats` to make it possible to 
ignore min/max stats but still collects null count?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to