We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c34d9 commit feb9104Copy full SHA for feb9104
ice/src/main/java/org/apache/iceberg/parquet/ParquetUtil.java
@@ -134,7 +134,9 @@ public static Metrics footerMetrics(
134
135
Statistics stats = column.getStatistics();
136
if (stats != null && !stats.isEmpty()) {
137
- increment(nullValueCounts, fieldId, stats.getNumNulls());
+ if (stats.isNumNullsSet()) {
138
+ increment(nullValueCounts, fieldId, stats.getNumNulls());
139
+ }
140
141
// when there are metrics gathered by Iceberg for a column, we should use those instead
142
// of the ones from Parquet
0 commit comments