Skip to content

[VL] Result mismatch while using get_json_object function with a string wrapped in single quotes #8754

@NEUpanning

Description

@NEUpanning

Backend

VL (Velox)

Bug description

Reproduce SQL: select get_json_object("{'g': 1}", '$.g');
Gluten result: NULL
vanilla spark result: 1

It appears that Simdjson lib requires double quotes and will not accept single quotes for string, but Jackson lib supports both double quotes and single quotes.

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

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions