wgtmac commented on code in PR #3575:
URL: https://github.com/apache/parquet-java/pull/3575#discussion_r3291996955
##########
parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java:
##########
@@ -800,12 +800,12 @@ public static Statistics
toParquetStatistics(org.apache.parquet.column.statistic
public static Statistics toParquetStatistics(
org.apache.parquet.column.statistics.Statistics stats, int
truncateLength) {
Statistics formatStats = new Statistics();
+ formatStats.setNull_count(stats.getNumNulls());
Review Comment:
Do we need to preserve the check `stats.isEmpty()` for this?
--
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]