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

Improve CSV parser to stream file to handle very large volume of data #7589

Open
richard-julien opened this issue Jul 3, 2024 · 0 comments · May be fixed by #7594
Open

Improve CSV parser to stream file to handle very large volume of data #7589

richard-julien opened this issue Jul 3, 2024 · 0 comments · May be fixed by #7594
Assignees
Labels
csv mapper Linked to csv mapper feature feature use for describing a new feature to develop

Comments

@richard-julien
Copy link
Member

richard-julien commented Jul 3, 2024

Use case

Improve CSV parser to stream file to handle very large volume of data

  • Adapt file download stream to use node:readline to handle the file line per line.
  • Generate bundle every CSV_MAX_BUNDLE_SIZE_GENERATION streamed lines
  • csvMapperTest query with content deprecated for csvMapperTest mutation with file
  • global refactor of api pour testing and other api
  • tested with a 1,4GB CSV file (generated with https://gist.github.com/richard-julien/9cac61bab212da1f3f086d5d31080525)
@richard-julien richard-julien added feature use for describing a new feature to develop csv mapper Linked to csv mapper feature labels Jul 3, 2024
@richard-julien richard-julien added this to the Release 6.3.0 milestone Jul 3, 2024
@richard-julien richard-julien self-assigned this Jul 3, 2024
richard-julien added a commit that referenced this issue Jul 3, 2024
richard-julien added a commit that referenced this issue Jul 3, 2024
@richard-julien richard-julien removed this from the Release 6.3.0 milestone Sep 5, 2024
aHenryJard pushed a commit that referenced this issue Oct 8, 2024
aHenryJard pushed a commit that referenced this issue Oct 8, 2024
aHenryJard pushed a commit that referenced this issue Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
csv mapper Linked to csv mapper feature feature use for describing a new feature to develop
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant