[BUG] GetJsonObject does not process escape sequences in returned strings or queries #10196
Labels
bug
Something isn't working
cudf_dependency
An issue or PR with this label depends on a new feature in cudf
Describe the bug
GetJsonObject
on the CPU, when returning a string will process any of the escape sequences and turn them into the desired output.\" => "
\' => '
\/ => /
\\ => \
\b =>
ASCII CHAR 0x08\f =>
ASCII CHAR 0x0B\n =>
ASCII CHAR 0x0A\t =>
ASCII CHAR 0x09It also does not process these for the query string, or the keys when looking for a query string, and it does not like unescaped control characters in the keys at all.
Note that it can be a little hard to tell if this is happening or not, because
show
in spark adds back in a lot of the escapes. It is also hard to put in an escape sequence without scala processing it.Steps/Code to reproduce bug
For queries and query strings.
For escaped values in the result.
Expected behavior
We match Spark much exactly in these cases.
The text was updated successfully, but these errors were encountered: