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 2408c679b5 [CALCITE-6118] Missing empty ARRAY function usage in 
reference doc (follow-up)
2408c679b5 is described below

commit 2408c679b5d6ac8045a2a9251d0b9b74d621f582
Author: Ran Tao <[email protected]>
AuthorDate: Tue Nov 21 17:33:32 2023 +0800

    [CALCITE-6118] Missing empty ARRAY function usage in reference doc 
(follow-up)
---
 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 d01c793cf6..873b658057 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. The function allows users to use `ARRAY()` to create an empty 
array
+| 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`

Reply via email to