ARRAY_REMOVE_LAST (Lakehouse v1)
Remove o último elemento do array.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.array_remove_last( <array> )Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.array_remove_last([1, 2, 3])
┌────────────────────────────────────┐│ func.array_remove_last([1, 2, 3]) │├────────────────────────────────────┤│ [1,2] │└────────────────────────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”ARRAY_REMOVE_LAST( <array> )Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT ARRAY_REMOVE_LAST([1, 2, 3]);
┌──────────────────────────────┐│ array_remove_last([1, 2, 3]) │├──────────────────────────────┤│ [1,2] │└──────────────────────────────┘