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

Avoid buffering CSV/JSON/Parquet file #55

Open
alecmocatta opened this issue Jun 10, 2020 · 0 comments
Open

Avoid buffering CSV/JSON/Parquet file #55

alecmocatta opened this issue Jun 10, 2020 · 0 comments

Comments

@alecmocatta
Copy link
Member

alecmocatta commented Jun 10, 2020

#51 introduced the buffering of a CSV/JSON/Parquet file due to serde/serde_json/csv not supporting async.

This will be resolved when they support async, but in the meantime running it inside spawn_blocking() and streaming chunks back over a channel might be workable? See smol::reader().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant