Closed
Description
Currently, the UDF that returns Row using GenericRow and Schema as below:
public static Func<Column, Column> Udf<T>(Func<T, GenericRow> udf, StructType returnType)
{
return CreateUdf(udf.Method.ToString(), UdfUtils.CreateUdfWrapper(udf), returnType).Apply1;
}
This will cause issues for chaining UDFs. We need to modify the API to return Row.