REVERSE (Array, Lakehouse v2)
Returns an array with elements in reverse order.
Analyze Syntax
Section titled “Analyze Syntax”func.reverse([1, 2, 3])Analyze Examples
Section titled “Analyze Examples”func.reverse([1, 2, 3])
┌─────────┐│ [3,2,1] │└─────────┘SQL Syntax
Section titled “SQL Syntax”REVERSE([1, 2, 3])SQL Examples
Section titled “SQL Examples”SELECT ARRAY_REVERSE([1, 2, 3]);
┌─────────┐│ [3,2,1] │└─────────┘