yiguolei commented on code in PR #2670:
URL: https://github.com/apache/doris-website/pull/2670#discussion_r2235635362


##########
docs/sql-manual/sql-functions/aggregate-functions/avg.md:
##########
@@ -25,29 +25,97 @@ AVG([DISTINCT] <expr>)
 ## Return Value
 
 Returns the average value of the selected column or expression. If all records 
in the group are NULL, the function returns NULL.
+For decimal type input, return value will be decimal as well, other numric 
type will return double type.
 
 ## Example

Review Comment:
   | `<expr>` | It is an expression or column, typically a numeric column or an 
expression that can be converted to a numeric value. |   这句话,我们能convert 成int ? 
还是只能convert 成double?



-- 
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]

Reply via email to