From f69b56b12be51374f710a496be3e138ce86770d5 Mon Sep 17 00:00:00 2001 From: Jay Zhan Date: Fri, 21 Jul 2023 12:03:33 +0800 Subject: [PATCH] Update docs/source/user-guide/expressions.md Co-authored-by: Alex Huang --- docs/source/user-guide/expressions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/user-guide/expressions.md b/docs/source/user-guide/expressions.md index 35a9214b6b3a..f0069e9c1e41 100644 --- a/docs/source/user-guide/expressions.md +++ b/docs/source/user-guide/expressions.md @@ -185,7 +185,7 @@ Unlike to some databases the math functions in Datafusion works the same way as | array_concat(array[, ..., array_n]) | Concatenates arrays. `array_concat([1, 2, 3], [4, 5, 6]) -> [1, 2, 3, 4, 5, 6]` | | array_has(array, element) | Returns true if the array contains the element `array_has([1,2,3], 1) -> true` | | array_has_all(array, sub-array) | Returns true if all elements of sub-array exist in array `array_has_all([1,2,3], [1,3]) -> true` | -| array_has_any(array, sub-array) | Returns true if any elements exist is both array `array_has_any([1,2,3], [1,4]) -> true` | +| array_has_any(array, sub-array) | Returns true if any elements exist in both arrays `array_has_any([1,2,3], [1,4]) -> true` | | array_dims(array) | Returns an array of the array's dimensions. `array_dims([[1, 2, 3], [4, 5, 6]]) -> [2, 3]` | | array_fill(element, array) | Returns an array filled with copies of the given value. | | array_length(array, dimension) | Returns the length of the array dimension. `array_length([1, 2, 3, 4, 5]) -> 5` |