ARRAY_UNIQUE (Lakehouse v1)
Compte les éléments uniques du tableau (hors NULL).
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.array_unique( <array> )Exemples Analyze
Section intitulée « Exemples Analyze »func.array_unique([1, 2, 3, 3, 4])
┌─────────────────────────────────────┐│ func.array_unique([1, 2, 3, 3, 4]) │├─────────────────────────────────────┤│ 4 │└─────────────────────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAY_UNIQUE( <array> )Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAY_UNIQUE([1, 2, 3, 3, 4]);
┌───────────────────────────────┐│ array_unique([1, 2, 3, 3, 4]) │├───────────────────────────────┤│ 4 │└───────────────────────────────┘