forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(json_parse): Fix json_parse to ignore invalid unicode escape sequ…
…ences Summary: Certain improperly escaped unicode points like \uDE2Dau throw in json_parse. This happens in simdjson since these are invalid unicode escape sequences (i.e without the surrogate pairs). As Presto java ignores this, we add similar support in Velox. ``` SELECT json_parse(x) from (values '"\uDE2Dau"') t(x); -- Returns "\uDE2Dau" in java but throws in Velox ``` Differential Revision: D68176965
- Loading branch information
1 parent
8817013
commit feb8a27
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters