ARRAY_UNIQUE_AGG (Lakehouse v2)
Agrega valores em um array de valores distintos.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.array_unique_agg(get_column(table, 'tag'))Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.array_unique_agg(get_column(table, 'tag'))
┌───────────────┐│ ['a','b','c'] │└───────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”ARRAY_UNIQUE_AGG(<tag>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT ARRAY_UNIQUE_AGG(tag) FROM tags;
┌───────────────┐│ ["a","b","c"] │└───────────────┘