ARRAY_AGG (Lakehouse v2)
Agrega valores numa matriz.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.array_agg(get_column(table, 'name'))Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.array_agg(get_column(table, 'name'))Sintaxe SQL
Seção intitulada “Sintaxe SQL”ARRAY_AGG(<name>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT ARRAY_AGG(name) FROM employees;
┌─────────────────────────────┐│ array_agg(name) │├─────────────────────────────┤│ ["Alice","Bob","Charlie"] │└─────────────────────────────┘