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

Stream CSV file reading & SQL file writing #23

Open
Vikram0118 opened this issue Dec 22, 2023 · 2 comments
Open

Stream CSV file reading & SQL file writing #23

Vikram0118 opened this issue Dec 22, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Vikram0118
Copy link

The CSV file can get very huge. So, depending on the size of your CSV file, we might want to consider streaming the file instead of reading the entire content into memory.

@gitdagray
Copy link
Owner

This is a good idea!! 💯

@Vikram0118
Copy link
Author

Processing them sequentially might lead to performance bottlenecks. Parallelizing the processing of multiple rows simultaneously can significantly improve overall performance. I once came across promise.all() for a project doing parallel reading. we can add that.

@gitdagray gitdagray changed the title CSV file reading Stream CSV file reading & SQL file writing Dec 22, 2023
@gitdagray gitdagray added the enhancement New feature or request label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants