MULTI_DISTINCT_COUNT (Lakehouse v2)
Renvoie le nombre de valeurs distinctes. Équivalent à COUNT(DISTINCT).
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.multi_distinct_count(get_column(table, 'dept'))Exemples Analyze
Section intitulée « Exemples Analyze »func.multi_distinct_count(get_column(table, 'department'))
┌───┐│ 5 │└───┘Syntaxe SQL
Section intitulée « Syntaxe SQL »MULTI_DISTINCT_COUNT(<dept>)Exemples SQL
Section intitulée « Exemples SQL »SELECT MULTI_DISTINCT_COUNT(department) FROM employees;
┌───┐│ 5 │└───┘