ARRAY_UNIQUE_AGG (Lakehouse v2)
値を、重複のない値の配列に集約します。
Analyzeの構文
Section titled “Analyzeの構文”func.array_unique_agg(get_column(table, 'tag'))Analyzeの例
Section titled “Analyzeの例”func.array_unique_agg(get_column(table, 'tag'))
┌───────────────┐│ ['a','b','c'] │└───────────────┘SQLの構文
Section titled “SQLの構文”ARRAY_UNIQUE_AGG(<tag>)SELECT ARRAY_UNIQUE_AGG(tag) FROM tags;
┌───────────────┐│ ["a","b","c"] │└───────────────┘