ARRAY_PREPEND (Lakehouse v1)
Prepends an element to the array.
Analyze Syntax
Section titled “Analyze Syntax”func.array_prepend( <element>, <array> )Analyze Examples
Section titled “Analyze Examples”func.array_prepend(1, [3, 4])
┌────────────────────────────────┐│ func.array_prepend(1, [3, 4]) │├────────────────────────────────┤│ [1,3,4] │└────────────────────────────────┘SQL Syntax
Section titled “SQL Syntax”ARRAY_PREPEND( <element>, <array> )SQL Examples
Section titled “SQL Examples”SELECT ARRAY_PREPEND(1, [3, 4]);
┌──────────────────────────┐│ array_prepend(1, [3, 4]) │├──────────────────────────┤│ [1,3,4] │└──────────────────────────┘