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

feat: Dask multiple partitions #940

Merged
merged 6 commits into from
Sep 11, 2024
Merged

Conversation

FBruzzesi
Copy link
Member

What type of PR is this? (check all applicable)

  • πŸ’Ύ Refactor
  • ✨ Feature
  • πŸ› Bug Fix
  • πŸ”§ Optimization
  • πŸ“ Documentation
  • βœ… Test
  • 🐳 Other

Related issues

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below.

@github-actions github-actions bot added the enhancement New feature or request label Sep 10, 2024
@@ -79,7 +79,9 @@ def filter(
and isinstance(predicates[0], list)
and all(isinstance(x, bool) for x in predicates[0])
):
msg = "Filtering with boolean mask is not supported for `DaskLazyFrame`"
msg = (
"`LazyFrame.filter` is not supported for Dask backend with boolean masks."
Copy link
Member Author

Choose a reason for hiding this comment

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

Aligns error message with others. User should not really know about DaskLazyFrame

@FBruzzesi
Copy link
Member Author

CI Failure is due to a polars==0.20.31 deprecation warning

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

thanks @FBruzzesi ! test suite time stays about 2 minutes so it's probably ok to test both npartitions=1 and npartitions=2

@MarcoGorelli MarcoGorelli merged commit d49af40 into main Sep 11, 2024
24 of 25 checks passed
@FBruzzesi FBruzzesi deleted the feat/dask-multiple-partitions branch September 11, 2024 13:46
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

Successfully merging this pull request may close these issues.

test: run Dask tests with npartitions=2
2 participants