ARRAY_DISTINCT (Lakehouse v2)
Remove os elementos duplicados de uma matriz.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.array_distinct([1, 2, 2, 3, 3])Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.array_distinct([1, 2, 2, 3, 3])
┌─────────┐│ [1,2,3] │└─────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”ARRAY_DISTINCT([1, 2, 2, 3, 3])Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT ARRAY_DISTINCT([1, 2, 2, 3, 3]);
┌─────────┐│ [1,2,3] │└─────────┘