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

[Bug] Fix Parquet-metadata sampling in cudf-polars #17991

Merged
merged 5 commits into from
Feb 13, 2025

Conversation

rjzamora
Copy link
Member

Description

The experimental multi-GPU executor for cudf-polars always attempts to sample the metadata from three files when reading from a Parquet dataset. This is obviously a problem when there are fewer than three files to sample from.

This PR fixes the trivial bug and adds test coverage.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@rjzamora rjzamora added bug Something isn't working 2 - In Progress Currently a work in progress non-breaking Non-breaking change cudf.polars Issues specific to cudf.polars labels Feb 12, 2025
@rjzamora rjzamora self-assigned this Feb 12, 2025
Copy link

copy-pr-bot bot commented Feb 12, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added the Python Affects Python cuDF API. label Feb 12, 2025
@rjzamora rjzamora marked this pull request as ready for review February 12, 2025 05:46
@rjzamora rjzamora requested a review from a team as a code owner February 12, 2025 05:46
@galipremsagar
Copy link
Contributor

/okay to test

@rjzamora rjzamora added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 2 - In Progress Currently a work in progress labels Feb 13, 2025
@rjzamora
Copy link
Member Author

/merge

@rjzamora
Copy link
Member Author

Anyone know what's missing for this to merge? (I'd rather not re-run all tests again for such a trivial fix)

@rjzamora
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit a035ccc into rapidsai:branch-25.04 Feb 13, 2025
109 checks passed
@rjzamora rjzamora deleted the fix-file-count-bug branch February 13, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge bug Something isn't working cudf.polars Issues specific to cudf.polars non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants