MULTI_DISTINCT_SUM (Lakehouse v2)
Retorna a soma dos valores distintos.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.multi_distinct_sum(get_column(table, 'bonus'))Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.multi_distinct_sum(get_column(table, 'bonus'))
┌───────┐│ 25000 │└───────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”MULTI_DISTINCT_SUM(<bonus>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT MULTI_DISTINCT_SUM(bonus) FROM employees;
┌───────┐│ 25000 │└───────┘