ARRAY_REMOVE_LAST (Lakehouse v1)
Removes the last element from the array.
Analyze Syntax
Section titled “Analyze Syntax”func.array_remove_last( <array> )Analyze Examples
Section titled “Analyze Examples”func.array_remove_last([1, 2, 3])
┌────────────────────────────────────┐│ func.array_remove_last([1, 2, 3]) │├────────────────────────────────────┤│ [1,2] │└────────────────────────────────────┘SQL Syntax
Section titled “SQL Syntax”ARRAY_REMOVE_LAST( <array> )SQL Examples
Section titled “SQL Examples”SELECT ARRAY_REMOVE_LAST([1, 2, 3]);
┌──────────────────────────────┐│ array_remove_last([1, 2, 3]) │├──────────────────────────────┤│ [1,2] │└──────────────────────────────┘