Standard Aggregate Functions¶
collect_set¶
collect_set(
e: Column): Column
collect_set(
columnName: String): Column
collect_set
creates a CollectSet expression (for the expr of the given Column) and requests it to toAggregateExpression.
In the end, collect_set
wraps the AggregateExpression up in a Column.