From 38cb8992d8092c520bde62e14040006c421b74bb Mon Sep 17 00:00:00 2001 From: Ran Tao Date: Wed, 15 Nov 2023 11:00:57 +0800 Subject: [PATCH] [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 1322abdc88ac..710a4f90f0b7 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, can use `ARRAY()` to specify 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`