pyspark.sql.functions.
sumDistinct
Aggregate function: returns the sum of distinct values in the expression.
New in version 1.3.