englefly commented on code in PR #64669: URL: https://github.com/apache/doris/pull/64669#discussion_r3456767453
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Sum0.java: ########## @@ -53,7 +53,7 @@ /** * 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. Review Comment: 这句话描述的是sum和sum0的差异. 如果输入行数是0行,那么sum和sum0 都返回 0. 所以不需要在这句话中描述 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
