-
Notifications
You must be signed in to change notification settings - Fork 435
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
[VL][1.2] Result mismatch of get_json_object when json string has newline #7777
Comments
cc: @PHILO-HE |
@wForget, it's strange. I just applied the below patch to test your case on Velox side (1.2.0 velox branch), the test passed.
|
Does this mean that |
@wForget, no, it's escaped. Just verified by printing |
Could you try:
|
I guess this may be due to spark using some non-standard json parsing behavior. |
It seems that
gluten disabled:
gluten enabled:
|
Using regular string instead of raw string can reproduce this issue. It also occurs on the main branch. I found Presto also allows control characters, like Spark. We may have to change simdjson's code to fix this issue. But not sure whether it is acceptable. See Velox PR: facebookincubator/velox#11433 |
Backend
VL (Velox)
Bug description
sql:
result of gluten 1.2.0 with velox:
result of valilla spark:
Spark version
None
Spark configurations
No response
System information
No response
Relevant logs
No response
The text was updated successfully, but these errors were encountered: