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

fix(python): pick a consistent order for the sort options in PyIR #16350

Merged

Conversation

wence-
Copy link
Collaborator

@wence- wence- commented May 21, 2024

Previously expr.sort() had a different order from expr.sortby(), which can only lead to confusion. Moreover, tighten up the types in to catch changes early.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels May 21, 2024
Previously expr.sort() had a different order from expr.sortby(), which
can only lead to confusion. Moreover, tighten up the types in to catch
changes early.
@wence- wence- force-pushed the wence/fea/sort-options-expr-consistent branch from 7536c29 to cb77dec Compare May 21, 2024 08:18
Copy link

codecov bot commented May 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 81.36%. Comparing base (1cdab6f) to head (cb77dec).

Files Patch % Lines
py-polars/src/lazyframe/visitor/expr_nodes.rs 0.00% 3 Missing ⚠️
py-polars/src/lazyframe/visitor/nodes.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16350      +/-   ##
==========================================
- Coverage   81.37%   81.36%   -0.02%     
==========================================
  Files        1405     1405              
  Lines      183738   183736       -2     
  Branches     2957     2957              
==========================================
- Hits       149525   149496      -29     
- Misses      33700    33727      +27     
  Partials      513      513              

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

@ritchie46 ritchie46 merged commit 7b155c4 into pola-rs:main May 21, 2024
17 checks passed
@wence- wence- deleted the wence/fea/sort-options-expr-consistent branch May 21, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants