ARRAY_SORT (Lakehouse v2)
Sorts the elements of an array in ascending order.
Analyze Syntax
Section titled “Analyze Syntax”func.array_sort([3, 1, 4, 1, 5])Analyze Examples
Section titled “Analyze Examples”func.array_sort([3, 1, 4, 1, 5])
┌─────────────┐│ [1,1,3,4,5] │└─────────────┘SQL Syntax
Section titled “SQL Syntax”ARRAY_SORT([3, 1, 4, 1, 5])SQL Examples
Section titled “SQL Examples”SELECT ARRAY_SORT([3, 1, 4, 1, 5]);
┌─────────────┐│ [1,1,3,4,5] │└─────────────┘