morrySnow commented on code in PR #1865: URL: https://github.com/apache/doris-website/pull/1865#discussion_r1921821885
########## docs/sql-manual/sql-functions/scalar-functions/array-functions/array-avg.md: ########## @@ -24,25 +24,42 @@ specific language governing permissions and limitations under the License. --> -## array_avg +## Description +Get the average of all elements in an array (`NULL` values are skipped). +When the array is empty or all elements in the array are `NULL` values, the function returns `NULL`. -array_avg +## Syntax +```sql +ARRAY_AVG(<arr>) +``` -### description -#### Syntax +## Parameters +| Parameter | Description | +|---|---| +| `<arr>` | ARRAY | Review Comment: 同样的需要更好的描述 -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org