MULTI_DISTINCT_COUNT (Lakehouse v2)
Retorna a contagem de valores distintos. Equivale a COUNT(DISTINCT).
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.multi_distinct_count(get_column(table, 'dept'))Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.multi_distinct_count(get_column(table, 'department'))
┌───┐│ 5 │└───┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”MULTI_DISTINCT_COUNT(<dept>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT MULTI_DISTINCT_COUNT(department) FROM employees;
┌───┐│ 5 │└───┘