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: Incorrect explode schema for LazyFrame.explode() #19860

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

nameexhaustion
Copy link
Collaborator

This goes through a different codepath than the Expr explode. We will be correct in both Expr and LazyFrame explode after this PR 🙂

Fixes #19763

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Nov 19, 2024
@@ -133,7 +133,7 @@ def test_schema_functions_in_agg_with_literal_arg_19011() -> None:
)


def test_lf_explode_in_agg_schema_19562() -> None:
def test_lazy_explode_in_agg_schema_19562() -> None:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

drive-by rename test_lf_* -> test_lazy_*

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.39%. Comparing base (9f914b7) to head (0bb5a9e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19860      +/-   ##
==========================================
- Coverage   79.42%   79.39%   -0.03%     
==========================================
  Files        1550     1550              
  Lines      214853   214857       +4     
  Branches     2447     2447              
==========================================
- Hits       170655   170596      -59     
- Misses      43641    43704      +63     
  Partials      557      557              

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


🚨 Try these New Features:

@ritchie46 ritchie46 merged commit 545b9bc into pola-rs:main Nov 19, 2024
25 checks passed
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 rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

join fails because of an uninstructed cast from int to array[int, x] on 1.14.0
2 participants