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: Fix ColumnNotFound when using pl.element() inside list.eval #19438

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

nameexhaustion
Copy link
Collaborator

Fixes #19317
Fixes #19345

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Oct 24, 2024
.lazy()
.without_optimizations()
.with_simplify_expr(true)
.select([expr.clone()]);
let schema = lf.collect_schema()?;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We accidentally passed the output schema instead of the input schema to create_physical_expr

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.99%. Comparing base (f01fb7b) to head (138bcf0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main   #19438       +/-   ##
===========================================
+ Coverage   60.05%   79.99%   +19.94%     
===========================================
  Files        1533     1533               
  Lines      210940   210940               
  Branches     2442     2442               
===========================================
+ Hits       126680   168748    +42068     
+ Misses      83706    41638    -42068     
  Partials      554      554               

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

@nameexhaustion nameexhaustion marked this pull request as ready for review October 25, 2024 00:31
@ritchie46 ritchie46 merged commit 591971b into pola-rs:main Oct 25, 2024
26 checks passed
@nameexhaustion nameexhaustion deleted the list-eval-schema branch October 28, 2024 04:54
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
2 participants