This is an automated email from the ASF dual-hosted git repository.

cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 706b57c0b2 fixup array and mvd sql docs (#14928)
706b57c0b2 is described below

commit 706b57c0b2a80d7278a1456da605ec998f6e3b0b
Author: Clint Wylie <[email protected]>
AuthorDate: Tue Sep 5 16:17:00 2023 -0700

    fixup array and mvd sql docs (#14928)
---
 docs/querying/sql-array-functions.md             | 4 ++--
 docs/querying/sql-multivalue-string-functions.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/querying/sql-array-functions.md 
b/docs/querying/sql-array-functions.md
index b39c5d526b..89607e9f08 100644
--- a/docs/querying/sql-array-functions.md
+++ b/docs/querying/sql-array-functions.md
@@ -56,8 +56,8 @@ The following table describes array functions. To learn more 
about array aggrega
 |`ARRAY_OVERLAP(arr1, arr2)`|Returns 1 if `arr1` and `arr2` have any elements 
in common, else 0.|
 |`ARRAY_OFFSET_OF(arr, expr)`|Returns the 0-based index of the first 
occurrence of `expr` in the array. If no matching elements exist in the array, 
returns `null` or `-1` if `druid.generic.useDefaultValueForNull=true` (legacy 
mode).|
 |`ARRAY_ORDINAL_OF(arr, expr)`|Returns the 1-based index of the first 
occurrence of `expr` in the array. If no matching elements exist in the array, 
returns `null` or `-1` if `druid.generic.useDefaultValueForNull=true` (legacy 
mode).|
-|`ARRAY_PREPEND(expr, arr)`|Prepends `expr` to `arr` at the beginning, the 
resulting array type determined by the type of `arr`.|
-|`ARRAY_APPEND(arr1, expr)`|Appends `expr` to `arr`, the resulting array type 
determined by the type of `arr1`.|
+|`ARRAY_PREPEND(expr, arr)`|Adds `expr` to the beginning of `arr`, the 
resulting array type determined by the type of `arr`.|
+|`ARRAY_APPEND(arr, expr)`|Appends `expr` to `arr`, the resulting array type 
determined by the type of `arr`.|
 |`ARRAY_CONCAT(arr1, arr2)`|Concatenates `arr2` to `arr1`. The resulting array 
type is determined by the type of `arr1`.|
 |`ARRAY_SLICE(arr, start, end)`|Returns the subarray of `arr` from the 0-based 
index `start` (inclusive) to `end` (exclusive). Returns `null`, if `start` is 
less than 0, greater than length of `arr`, or greater than `end`.|
 |`ARRAY_TO_STRING(arr, str)`|Joins all elements of `arr` by the delimiter 
specified by `str`.|
diff --git a/docs/querying/sql-multivalue-string-functions.md 
b/docs/querying/sql-multivalue-string-functions.md
index 9688ca083f..8b4a17c7b5 100644
--- a/docs/querying/sql-multivalue-string-functions.md
+++ b/docs/querying/sql-multivalue-string-functions.md
@@ -57,8 +57,8 @@ All array references in the multi-value string function 
documentation can refer
 |`MV_OVERLAP(arr1, arr2)`|Returns 1 if `arr1` and `arr2` have any elements in 
common, else 0.|
 |`MV_OFFSET_OF(arr, expr)`|Returns the 0-based index of the first occurrence 
of `expr` in the array. If no matching elements exist in the array, returns 
`null` or -1 if `druid.generic.useDefaultValueForNull=true` (legacy mode).|
 |`MV_ORDINAL_OF(arr, expr)`|Returns the 1-based index of the first occurrence 
of `expr` in the array. If no matching elements exist in the array, returns 
`null` or `-1` if `druid.generic.useDefaultValueForNull=true` (legacy mode).|
-|`MV_PREPEND(expr, arr)`|Adds `expr` to `arr` at the beginning, the resulting 
array type determined by the type of the array.|
-|`MV_APPEND(arr1, expr)`|Appends `expr` to `arr`, the resulting array type 
determined by the type of the first array.|
+|`MV_PREPEND(expr, arr)`|Adds `expr` to the beginning of `arr`, the resulting 
array type determined by the type `arr`.|
+|`MV_APPEND(arr, expr)`|Appends `expr` to `arr`, the resulting array type 
determined by the type of `arr`.|
 |`MV_CONCAT(arr1, arr2)`|Concatenates `arr2` to `arr1`. The resulting array 
type is determined by the type of `arr1`.|
 |`MV_SLICE(arr, start, end)`|Returns the subarray of `arr` from the 0-based 
index start(inclusive) to end(exclusive), or `null`, if start is less than 0, 
greater than length of arr or greater than end.|
 |`MV_TO_STRING(arr, str)`|Joins all elements of `arr` by the delimiter 
specified by `str`.|


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to