Fix typo in array functions' documentation

This commit is contained in:
Bertrand Junqua 2021-01-06 16:36:51 +01:00 committed by GitHub
parent a20c4cce76
commit 85003c8b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1308,7 +1308,7 @@ Note that the `arraySum` is a [higher-order function](../../sql-reference/functi
## arrayAvg(\[func,\] arr1, …) {#array-avg}
Returns the sum of the `func` values. If the function is omitted, it just returns the average of the array elements.
Returns the average of the `func` values. If the function is omitted, it just returns the average of the array elements.
Note that the `arrayAvg` is a [higher-order function](../../sql-reference/functions/index.md#higher-order-functions). You can pass a lambda function to it as the first argument.