-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-802910 Remove the use of partialEscapeUnicode buffer for split s…
…trings to fix dropped characters (#1398) * Changes that attempt to get rid of the partial escape buffer and treat the input stream as continuous (minus abstractions) Leftover data in the buffers (that were previously copied over to partial buffer) are carried forward through a prepend into the next buffered read from the input At the end we process remaining data leftover from the final buffered read Test changes are to get it to compile/pass, mostly Patch is purely POC quality and not intended for the customer, its just to illustrate a point about the soundness of 'partialEscapedUnicode' buffer usage * add unit tests, format code and add comments increase buffer length for streaming test remove use of partialEscapedUnicode --------- Co-authored-by: Harsh Chouraria <h.chouraria@snowflake.com>
- Loading branch information
1 parent
02930a3
commit f56bfa9
Showing
3 changed files
with
129 additions
and
75 deletions.
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
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