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

refactor(rust): Add new streaming CSV source #19694

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nameexhaustion
Copy link
Collaborator

@nameexhaustion nameexhaustion commented Nov 8, 2024

Adds a simple CSV source - we have one thread scanning for line batches which get sent to other threads for parsing

Note this has merge conflicts with #19454 - specifically in the IR lowering code

@github-actions github-actions bot added internal An internal refactor or improvement rust Related to Rust Polars labels Nov 8, 2024
offset > 0
}) && options.parse_options.comment_prefix.is_none()
&& std::env::var("POLARS_NEW_STREAMING_CSV_EXPERIMENTAL_SLICE").as_deref()
== Ok("1")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have slice pushdown into the CSV source disabled by default - it relies heavily on CountLines being correct.

@nameexhaustion nameexhaustion added blocked Cannot be worked on due to external dependencies, or significant new internal features needed first and removed blocked Cannot be worked on due to external dependencies, or significant new internal features needed first labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant