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] Json output diff when the string contains slash #6124

Closed
KevinyhZou opened this issue Jun 18, 2024 · 0 comments · Fixed by #6125
Closed

[CH] Json output diff when the string contains slash #6124

KevinyhZou opened this issue Jun 18, 2024 · 0 comments · Fixed by #6125
Labels
bug Something isn't working triage

Comments

@KevinyhZou
Copy link
Contributor

KevinyhZou commented Jun 18, 2024

Backend

CH (ClickHouse)

Bug description

If the string contains slash, and use to_json to convert a struct to json string, the result will diff from spark,

e.g. in query select to_json(named_struct('name', concat('/val/', id))) from range(1)

the gluten output: {"name":"\/val\/0"}
the spark output: {"name":"/val/0"}

Spark version

Spark-3.3.x

Spark configurations

No response

System information

No response

Relevant logs

No response

@KevinyhZou KevinyhZou added bug Something isn't working triage labels Jun 18, 2024
liuneng1994 pushed a commit that referenced this issue Jun 26, 2024
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)

(Fixes: #6124)

How was this patch tested?
TEST BY UT
deepashreeraghu pushed a commit to deepashreeraghu/incubator-gluten that referenced this issue Jun 26, 2024
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)

(Fixes: apache#6124)

How was this patch tested?
TEST BY UT
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.

1 participant