Skip to content

Add error handling for jsonPathString UDF when jsonPath is non-existent #7439

@ksnijjer

Description

@ksnijjer

If you use "non default value" version i.e jsonPathString(Object object, String jsonPath) then there is no error handling in case jsonPath doesn't exist and will cause data ingestion to fail. Need to return null in such scenarios so data ingestion is not impacted.

Similar to above function other functions for e.g jsonPathDouble() etc. need to be updated as well.

cc @npawar

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