ARRAY_AGG (Lakehouse v2)
Aggregates values into an array.
Analyze Syntax
Section titled “Analyze Syntax”func.array_agg(get_column(table, 'name'))Analyze Examples
Section titled “Analyze Examples”func.array_agg(get_column(table, 'name'))SQL Syntax
Section titled “SQL Syntax”ARRAY_AGG(<name>)SQL Examples
Section titled “SQL Examples”SELECT ARRAY_AGG(name) FROM employees;
┌─────────────────────────────┐│ array_agg(name) │├─────────────────────────────┤│ ["Alice","Bob","Charlie"] │└─────────────────────────────┘