This is an automated email from the ASF dual-hosted git repository.

englefly pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 5a80fb0baf1 [opt](nereids)print numNulls of column stats in memo plan 
(#40029)
5a80fb0baf1 is described below

commit 5a80fb0baf10df2fd7bbbaa9c46de95ed4e55ae3
Author: minghong <[email protected]>
AuthorDate: Thu Aug 29 19:03:22 2024 +0800

    [opt](nereids)print numNulls of column stats in memo plan (#40029)
    
    ## Proposed changes
    
    Issue Number: close #xxx
    
    <!--Describe your changes.-->
---
 .../src/main/java/org/apache/doris/statistics/ColumnStatistic.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/statistics/ColumnStatistic.java 
b/fe/fe-core/src/main/java/org/apache/doris/statistics/ColumnStatistic.java
index 3cb1750af47..72c1e988b97 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/statistics/ColumnStatistic.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/statistics/ColumnStatistic.java
@@ -269,8 +269,9 @@ public class ColumnStatistic {
 
     @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() {


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

Reply via email to