MULTI_DISTINCT_COUNT (Lakehouse v2)
Returns the count of distinct values. Equivalent to COUNT(DISTINCT).
Analyze Syntax
Section titled “Analyze Syntax”func.multi_distinct_count(get_column(table, 'dept'))Analyze Examples
Section titled “Analyze Examples”func.multi_distinct_count(get_column(table, 'department'))
┌───┐│ 5 │└───┘SQL Syntax
Section titled “SQL Syntax”MULTI_DISTINCT_COUNT(<dept>)SQL Examples
Section titled “SQL Examples”SELECT MULTI_DISTINCT_COUNT(department) FROM employees;
┌───┐│ 5 │└───┘