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!: Remove deprecated top_k parameters nulls_last, maintain_order, and multithreaded #16599

Merged
merged 4 commits into from
Jun 5, 2024

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented May 30, 2024

Closes #15238

Changes

  • Remove the deprecated parameters from top_k and related methods.

This does not introduce/fix the behavior with regards to nulls (#16748), it simply enforces the deprecation.

@stinodego stinodego marked this pull request as draft May 30, 2024 14:37
@stinodego stinodego changed the title Update Python side feat!: Remove deprecated top_k parameters, update behavior with regard to nulls May 30, 2024
@github-actions github-actions bot added breaking Change that breaks backwards compatibility enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels May 30, 2024
@stinodego stinodego changed the title feat!: Remove deprecated top_k parameters, update behavior with regard to nulls feat!: Remove deprecated top_k parameters Jun 5, 2024
@stinodego stinodego marked this pull request as ready for review June 5, 2024 15:52
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.46%. Comparing base (6f3fd8e) to head (09b1f44).

Additional details and impacted files
@@           Coverage Diff            @@
##             main   #16599    +/-   ##
========================================
  Coverage   81.45%   81.46%            
========================================
  Files        1413     1413            
  Lines      186306   186175   -131     
  Branches     2777     2759    -18     
========================================
- Hits       151750   151659    -91     
+ Misses      34036    34011    -25     
+ Partials      520      505    -15     

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

@stinodego stinodego merged commit 077fda0 into main Jun 5, 2024
20 checks passed
@stinodego stinodego deleted the breaking-top-k branch June 5, 2024 16:55
@stinodego stinodego changed the title feat!: Remove deprecated top_k parameters feat!: Remove deprecated top_k parameters nulls_last, maintain_order, and multithreaded Jun 12, 2024
@stinodego stinodego removed the breaking Change that breaks backwards compatibility label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

maintain_order in top_k is inconsistent with maintain_order in other places
1 participant