Skip to content

Commit

Permalink
print numNulls in column stats
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Aug 28, 2024
1 parent ab4d81a commit 16f41fd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,9 @@ public boolean enclosed(ColumnStatistic other) {

@Override
public String toString() {
return isUnKnown ? "unknown" : String.format("ndv=%.4f, min=%f(%s), max=%f(%s), count=%.4f, avgSizeByte=%f",
ndv, minValue, minExpr, maxValue, maxExpr, count, avgSizeByte);
return isUnKnown ? "unknown" : String.format(
"ndv=%.4f, min=%f(%s), max=%f(%s), count=%.4f, avgSizeByte=%f, numNulls=%f",
ndv, minValue, minExpr, maxValue, maxExpr, count, avgSizeByte, numNulls);
}

public JSONObject toJson() {
Expand Down

0 comments on commit 16f41fd

Please sign in to comment.