After SPARK-30127, typed Scala UDF now supports to accept case class as input parameter. However, it still does not support types like Seq[T], Array[T], assuming T is a case class.
Aggression that use map type input UDF as group expression can fail
UDF regression of WrappedArray supporting caused by SPARK-31826
[Github] Pull Request #28645 (Ngone51)