Skip to content

Implement native function of nanvl(87) #1565

@guixiaowen

Description

@guixiaowen

Description

Convert Spark's built-in function nanvl to execute as a native function.

Spark function name:
nanvl

Method description:

nanvl(expr1, expr2) - Returns expr1 if it's not NaN, or expr2 otherwise.

Examples:

SELECT nanvl(cast('NaN' as double), 123);
123.0

To Native function

f::math::nanvl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions