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

depr(python): Rename SQLContext "eager_execution" param to "eager" #16595

Merged
merged 1 commit into from
May 30, 2024

Conversation

alexander-beedie
Copy link
Collaborator

@alexander-beedie alexander-beedie commented May 30, 2024

Ref: #16594.

Split out the deprecation from the functional change; deprecates use of "eager_execution" in SQLContext in favour of the more standard/idiomatic "eager".

No functional changes, though I did remove the docstring examples that show multi-frame usage of df.sql and lf.sql, as that is going away in favour of pl.sql.

@github-actions github-actions bot added deprecation Add a deprecation warning to outdated functionality python Related to Python Polars rust Related to Rust Polars labels May 30, 2024
@alexander-beedie alexander-beedie added the A-sql Area: Polars SQL functionality label May 30, 2024
@alexander-beedie
Copy link
Collaborator Author

alexander-beedie commented May 30, 2024

@stinodego: Ok, here's the deprecation-only PR - if you can merge this one in then I'll rebase the breaking follow-up on top of it 😎

Copy link

codecov bot commented May 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.51%. Comparing base (d190e02) to head (8bc80d3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16595   +/-   ##
=======================================
  Coverage   81.51%   81.51%           
=======================================
  Files        1414     1414           
  Lines      185714   185716    +2     
  Branches     3008     3009    +1     
=======================================
+ Hits       151385   151388    +3     
+ Misses      33813    33812    -1     
  Partials      516      516           

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

@stinodego stinodego changed the title depr: Rename SQLContext "eager_execution" param to "eager" depr(python): Rename SQLContext "eager_execution" param to "eager" May 30, 2024
@stinodego stinodego removed the rust Related to Rust Polars label May 30, 2024
@stinodego
Copy link
Contributor

Yep, agree with the rename.

@stinodego stinodego merged commit 898b058 into pola-rs:main May 30, 2024
23 checks passed
@alexander-beedie alexander-beedie deleted the depr-sqlcontext-eager branch May 30, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql Area: Polars SQL functionality deprecation Add a deprecation warning to outdated functionality python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants