Skip to content

[VL] Result mismatch using get_json_object when json input is invalid #9732

Description

@NEUpanning

Backend

VL (Velox)

Bug description

Reproducing SQL: select get_json_object('{"c": "1", "a":""""}','$.c');
vanilla spark result: NULL
gluten result: 1

Perhaps, the reason is that SIMDjson parses JSON on demand, which means JSON could not be fully parsed and validated.

Gluten version

Gluten-1.3

Spark version

Spark-3.5.x

Spark configurations

No response

System information

No response

Relevant logs

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions