MULTI_DISTINCT_SUM (Lakehouse v2)
重複を除いた値の合計を返します。
Analyzeの構文
Section titled “Analyzeの構文”func.multi_distinct_sum(get_column(table, 'bonus'))Analyzeの例
Section titled “Analyzeの例”func.multi_distinct_sum(get_column(table, 'bonus'))
┌───────┐│ 25000 │└───────┘SQLの構文
Section titled “SQLの構文”MULTI_DISTINCT_SUM(<bonus>)SELECT MULTI_DISTINCT_SUM(bonus) FROM employees;
┌───────┐│ 25000 │└───────┘