Github user ewasserman commented on the issue:
https://github.com/apache/spark/pull/17693
Reverted from use of toString on the
org.apache.spark.unsafe.types.UTF8String by running the byte array through a
java.io.Reader. This still fixes the bug and is also more efficient on the JSON
GitHub user ewasserman opened a pull request:
https://github.com/apache/spark/pull/17693
[SPARK-20314][SQL] Inconsistent error handling in JSON parsing SQL functions
## What changes were proposed in this pull request?
change to using Jackson's