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

Upgrade to polars 1.11 in cudf-polars #17154

Merged
merged 6 commits into from
Oct 24, 2024

Conversation

wence-
Copy link
Contributor

@wence- wence- commented Oct 23, 2024

Description

Polars 1.11 is out, with slight updates to the IR, so we can correctly raise for dynamic groupbys and see inequality joins.

These changes adapt to that and do a first pass at supporting inequality joins (by translating to cross + filter). A followup (#17000) will use libcudf's conditional joins.

Checklist

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

In addition, implement inequality joins by translation to cross-join +
filter. This is the minimum necessary for things to work, and we will
use ast-based conditional and mixed joins in a followup.
Now that the dynamic groupby options are exposed, we can raise without
heuristics.

Partially addresses rapidsai#17144
In particular:

- join_where + slicing
- tests of slicing for left and cross joins
@wence- wence- requested review from a team as code owners October 23, 2024 19:00
@github-actions github-actions bot added Python Affects Python cuDF API. cudf.polars Issues specific to cudf.polars labels Oct 23, 2024
Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

One small typo fix, otherwise all looks good. Thanks for updating the conda recipe. We will need to keep conda/recipes/cudf-polars/meta.yaml in sync with dependencies.yaml because we do not have a way to manage conda recipes using rapids-dependency-file-generator.

Co-authored-by: Bradley Dice <[email protected]>
@wence- wence- added improvement Improvement / enhancement to an existing function breaking Breaking change labels Oct 24, 2024
@wence-
Copy link
Contributor Author

wence- commented Oct 24, 2024

Breaking change purely because it bumps the minimum required polars version.

@wence-
Copy link
Contributor Author

wence- commented Oct 24, 2024

/merge

@rapids-bot rapids-bot bot merged commit 3a62314 into rapidsai:branch-24.12 Oct 24, 2024
104 checks passed
@wence- wence- deleted the wence/fea/polars-upgrade branch October 24, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change cudf.polars Issues specific to cudf.polars improvement Improvement / enhancement to an existing function Python Affects Python cuDF API.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants