I was wondering if there is some way to specify a custom aggregation function for spark dataframes over multiple columns.
I have a table like this of the type (name