I have one spark scala udf which takes one parameter as column of dataframe and other parameter as List but when I run the function it throws error pointing to list argument as
type mismatch, found spark.sql.row ,required spark.sql.column
I am running udf with argument as follows,
udf_name($"column_name",List_name)
Please Guide