From 6f7701e74242b78bd3e7c73d6a5723d181a4c75b Mon Sep 17 00:00:00 2001 From: imply-jbalik <79473252+imply-jbalik@users.noreply.github.com> Date: Mon, 3 May 2021 21:38:16 -0700 Subject: [PATCH] fixed array syntax (#11191) --- docs/querying/sql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/querying/sql.md b/docs/querying/sql.md index 7dece55b74c..1c57ebf4c6c 100644 --- a/docs/querying/sql.md +++ b/docs/querying/sql.md @@ -595,7 +595,7 @@ All 'array' references in the multi-value string function documentation can refe |Function|Notes| |--------|-----| -| `ARRAY(expr1,expr ...)` | constructs a SQL ARRAY literal from the expression arguments, using the type of the first argument as the output array type | +| `ARRAY[expr1,expr ...]` | constructs a SQL ARRAY literal from the expression arguments, using the type of the first argument as the output array type | | `MV_LENGTH(arr)` | returns length of array expression | | `MV_OFFSET(arr,long)` | returns the array element at the 0 based index supplied, or null for an out of range index| | `MV_ORDINAL(arr,long)` | returns the array element at the 1 based index supplied, or null for an out of range index |