REVERSE (Array, Lakehouse v2)
返回元素顺序反转后的数组。
Analyze 语法
Section titled “Analyze 语法”func.reverse([1, 2, 3])Analyze 示例
Section titled “Analyze 示例”func.reverse([1, 2, 3])
┌─────────┐│ [3,2,1] │└─────────┘SQL 语法
Section titled “SQL 语法”REVERSE([1, 2, 3])SQL 示例
Section titled “SQL 示例”SELECT ARRAY_REVERSE([1, 2, 3]);
┌─────────┐│ [3,2,1] │└─────────┘