Skip to content

Commit

Permalink
[opt](nereids)print numNulls of column stats in memo plan (#40029)
Browse files Browse the repository at this point in the history
## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
  • Loading branch information
englefly authored Aug 29, 2024
1 parent 1b92dd3 commit 5a80fb0
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 5a80fb0

Please sign in to comment.