pyspark.sql.functions.sumDistinct

pyspark.sql.functions.sumDistinct(col: ColumnOrName) → pyspark.sql.column.Column

Aggregate function: returns the sum of distinct values in the expression.

Use sum_distinct() instead.