Skip to content

[FEATURE REQUEST]: Change the API of UDF that returns Row #407

Closed
@elvaliuliuliu

Description

@elvaliuliuliu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions