Skip to content

fix: Propagate null by column values in rolling_*_by#27367

Open
gautamvarmadatla wants to merge 2 commits intopola-rs:mainfrom
gautamvarmadatla:fix/rolling-by-null-propagation
Open

fix: Propagate null by column values in rolling_*_by#27367
gautamvarmadatla wants to merge 2 commits intopola-rs:mainfrom
gautamvarmadatla:fix/rolling-by-null-propagation

Conversation

@gautamvarmadatla
Copy link
Copy Markdown
Contributor

Fixes #27366

I filtered the input to non-null by rows, computed the rolling aggregation on that subset, then scattered the results back to their original positions using a nullable IdxCa. Null by rows should now produce null output, instead of panicking.

@github-actions github-actions Bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Apr 20, 2026
@gautamvarmadatla
Copy link
Copy Markdown
Contributor Author

CI failed again despite retriggering. looks like a pre-existing macOS runner disk space issue

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.

rolling_*_by panics when by contains nulls

1 participant