Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Node.js] Fix incomplete rows handling in streaming transformations #204

Merged
merged 10 commits into from
Oct 17, 2023

Conversation

slvrtrn
Copy link
Contributor

@slvrtrn slvrtrn commented Oct 16, 2023

Summary

In specific scenarios, with a large number of incoming rows and/or large chunk sizes, incomplete rows were not handled correctly, and produced corrupted UTF-8 strings.

NB: I still need to check the web version, as I suspect it could have the same bug. See #205

Checklist

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG

packages/client-node/src/result_set.ts Outdated Show resolved Hide resolved
packages/client-node/src/result_set.ts Outdated Show resolved Hide resolved
packages/client-node/src/result_set.ts Show resolved Hide resolved
packages/client-node/src/result_set.ts Outdated Show resolved Hide resolved
packages/client-node/src/result_set.ts Outdated Show resolved Hide resolved
@slvrtrn slvrtrn changed the title [Node.js] Fix line breaks in streaming transformations [Node.js] Fix incomplete rows handling in streaming transformations Oct 17, 2023
@slvrtrn slvrtrn requested a review from mshustov October 17, 2023 12:52
@slvrtrn slvrtrn merged commit 2552dbb into main Oct 17, 2023
23 checks passed
@slvrtrn slvrtrn deleted the fix-streaming-transform branch October 17, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use query stream and get some broken symbols
2 participants