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): Avoid downloading full parquet when initializing new streaming parquet source #21580

Merged
merged 5 commits into from
Mar 4, 2025

Conversation

nameexhaustion
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added internal An internal refactor or improvement rust Related to Rust Polars labels Mar 4, 2025
// * This is also downloading the whole file even if there is a projection
let memslice = source
.as_scan_source_ref()
.to_memslice_async_assume_latest(source.run_async())?;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We download for IPC, but this is also what we do in the in-memory engine as well

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.47%. Comparing base (b9a5bc0) to head (3c5bafb).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21580      +/-   ##
==========================================
+ Coverage   79.43%   79.47%   +0.03%     
==========================================
  Files        1602     1602              
  Lines      230574   230778     +204     
  Branches     2636     2639       +3     
==========================================
+ Hits       183164   183401     +237     
+ Misses      46799    46765      -34     
- Partials      611      612       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nameexhaustion nameexhaustion marked this pull request as ready for review March 4, 2025 11:48
@ritchie46 ritchie46 merged commit 8bc706a into pola-rs:main Mar 4, 2025
22 checks passed
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.

2 participants