From 8aca01c761eec4526ab67aab4451f450460bad3a 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 1322abdc88a..03d3781a541 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`