This is an automated email from the ASF dual-hosted git repository.
taoran pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 1537555596 [CALCITE-6118] Missing empty ARRAY function usage in
reference doc
1537555596 is described below
commit 1537555596f8994831ad015af4b9036aa01ebf78
Author: Ran Tao <[email protected]>
AuthorDate: Wed Nov 15 11:00:57 2023 +0800
[CALCITE-6118] Missing empty ARRAY function usage in reference doc
---
site/_docs/reference.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site/_docs/reference.md b/site/_docs/reference.md
index 1322abdc88..03d3781a54 100644
--- a/site/_docs/reference.md
+++ b/site/_docs/reference.md
@@ -2654,7 +2654,7 @@ BigQuery's type system uses confusingly different names
for types and functions:
| p | expr :: type | Casts *expr* to *type*
| m | expr1 <=> expr2 | Whether two values are
equal, treating null values as the same, and it's similar to `IS NOT DISTINCT
FROM`
| * | ACOSH(numeric) | Returns the inverse
hyperbolic cosine of *numeric*
-| s | ARRAY(expr [, expr ]*) | Construct an array in
Apache Spark
+| s | ARRAY(expr [, expr ]*) | Construct an array in
Apache Spark. The function allows users to use `ARRAY()` to create an empty
array
| s | ARRAY_APPEND(array, element) | Appends an *element* to
the end of the *array* and returns the result. Type of *element* should be
similar to type of the elements of the *array*. If the *array* is null, the
function will return null. If an *element* that is null, the null *element*
will be added to the end of the *array*
| s | ARRAY_COMPACT(array) | Removes null values
from the *array*
| b | ARRAY_CONCAT(array [, array ]*) | Concatenates one or
more arrays. If any input argument is `NULL` the function returns `NULL`