Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CH] Different result from get_json_object #7014

Closed
lgbo-ustc opened this issue Aug 26, 2024 · 3 comments · Fixed by #7034
Closed

[CH] Different result from get_json_object #7014

lgbo-ustc opened this issue Aug 26, 2024 · 3 comments · Fixed by #7034
Assignees
Labels
bug Something isn't working triage

Comments

@lgbo-ustc
Copy link
Contributor

lgbo-ustc commented Aug 26, 2024

Backend

CH (ClickHouse)

Bug description

[Expected behavior] and [actual behavior].

select get_json_object('{"a":"\\\"b", "x":"u0001}Uûu0010Jw\\\"<洫C"}\\0', '$.a');

gluten returns NULL, vanilla returns "b

select get_json_object('{"a":"232\\b123", "x":"xdd"}', '$.a')

gluten returns 23123, vanilla returns 232123

get_json_object('{"a":"\\\"b", "x":"1232\01232"}', '$.x')

gluten returns 123232, vanilla returns 1232 32

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

No response

@lgbo-ustc lgbo-ustc added bug Something isn't working triage labels Aug 26, 2024
@lgbo-ustc
Copy link
Contributor Author

There have been a bundle of PRs to fix the difference.
#3750
#3337
#5303

@lgbo-ustc lgbo-ustc self-assigned this Aug 26, 2024
@zhanglistar
Copy link
Contributor

Version problem?

@lgbo-ustc
Copy link
Contributor Author

a new corner case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants