ARRAY_PREPEND (Lakehouse v1)
Acrescenta um elemento no início da matriz.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.array_prepend( <element>, <array> )Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.array_prepend(1, [3, 4])
┌────────────────────────────────┐│ func.array_prepend(1, [3, 4]) │├────────────────────────────────┤│ [1,3,4] │└────────────────────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”ARRAY_PREPEND( <element>, <array> )Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT ARRAY_PREPEND(1, [3, 4]);
┌──────────────────────────┐│ array_prepend(1, [3, 4]) │├──────────────────────────┤│ [1,3,4] │└──────────────────────────┘