Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In Hive coercion tests some test cases produce binary arrays that contain \0. Previously we were writing Slices representing UTF-8 String by calling .toStringUtf8() which passed the bytes to the String constructor that would truncate the value at \0. When directly writing Slice to a JSON output, \0 isn't interpreted as String terminator, got escaped and appears in the output without truncation. It seems more correct but breaks previous behaviour.
- Loading branch information