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: double projection check should only take the upstream projections into account #15901

Merged
merged 3 commits into from
Apr 26, 2024

Conversation

reswqa
Copy link
Collaborator

@reswqa reswqa commented Apr 26, 2024

fix: #15895.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Apr 26, 2024
@reswqa reswqa marked this pull request as ready for review April 26, 2024 07:58
@@ -95,17 +95,19 @@ pub(super) fn process_projection(

check_double_projection(&e, expr_arena, &mut acc_projections, &mut projected_names);
Copy link
Member

Choose a reason for hiding this comment

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

Ah.. Good observation. We check while we mutate the state. That's of course dangerous!

@ritchie46 ritchie46 merged commit 3fe3d61 into pola-rs:main Apr 26, 2024
24 of 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.

LazyFrame ColumnNotFound PanicException from basic query.
2 participants