From dd348ff78c295ccf6afa2d78c5c84b6d3f36c275 Mon Sep 17 00:00:00 2001 From: Ankita Victor Date: Wed, 24 Apr 2024 09:13:17 +0530 Subject: [PATCH] Update doc --- velox/docs/functions/spark/array.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/velox/docs/functions/spark/array.rst b/velox/docs/functions/spark/array.rst index 898bde37d532..705dde524c4e 100644 --- a/velox/docs/functions/spark/array.rst +++ b/velox/docs/functions/spark/array.rst @@ -75,6 +75,12 @@ Array Functions SELECT array_repeat(100, 0); -- [] SELECT array_repeat(100, -1); -- [] +.. spark:function:: array_size(array(E)) -> integer + + Returns the size of the array. :: + + SELECT array_size(array(1, 2, 3)); -- 3 + .. spark:function:: array_sort(array(E)) -> array(E) Returns an array which has the sorted order of the input array(E). The elements of array(E) must