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

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


The following commit(s) were added to refs/heads/master by this push:
     new f025cbd79c5 [opt](sum0) update sum0 comments (#64669)
f025cbd79c5 is described below

commit f025cbd79c5f06d1bd63d12e49f305c998c41ec3
Author: minghong <[email protected]>
AuthorDate: Tue Jun 23 11:13:51 2026 +0800

    [opt](sum0) update sum0 comments (#64669)
    
    ### What problem does this PR solve?
    the original description of sum0 is hard to understand. adjust the comments
---
 .../org/apache/doris/nereids/trees/expressions/functions/agg/Sum0.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Sum0.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Sum0.java
index c2514426226..2bf5f9e2fa3 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Sum0.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Sum0.java
@@ -53,7 +53,7 @@ import java.util.List;
 
 /**
  * AggregateFunction 'sum0'. sum0 returns the sum of the values which go into 
it like sum.
- * It differs in that when no non null values are applied zero is returned 
instead of null.
+ * when all input values are null, it returns zero instead of null.
  */
 public class Sum0 extends NotNullableAggregateFunction
         implements UnaryExpression, ExplicitlyCastableSignature, 
ComputePrecisionForSum,


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

Reply via email to