Spark Udf Array Of Struct. DataType or str, optional the return type of the user-defined fu