[VL][1.2] Result mismatch of get_json_object when json string has newline
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 657
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 80
Description
### Backend
VL (Velox)
### Bug description
sql:
```
select get_json_object('{"c1":"test\ntest"}', '$.c1')
```
result of gluten 1.2.0 with velox:
```
+--------------------------------------------+--+
| get_json_object({"c1":"test
test"}, $.c1) |
+--------------------------------------------+--+
| NULL |
+--------------------------------------------+--+
```
result of valilla spark:
```
+--------------------------------------------+--+
| get_json_object({"c1":"test
test"}, $.c1) |
+--------------------------------------------+--+
| test
test |
+--------------------------------------------+--+
```
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.