Skip to content

Implement native function of nvl(82) #1578

@guixiaowen

Description

@guixiaowen

Description

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

Spark function name:
nvl

Method description:

nvl(expr1, expr2) - Returns expr2 if expr1 is null, or expr1 otherwise.

Examples:

SELECT nvl(NULL, array('2'));
["2"]

To Native function

f::core::nvl()

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