Skip to content

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

@NEUpanning

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions