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(rust): Fix panic when computing min() of Duration series. #16455

Merged
merged 1 commit into from
May 24, 2024

Conversation

BGR360
Copy link
Contributor

@BGR360 BGR360 commented May 23, 2024

The implementation of min_reduce accidentally called .as_duration() twice. The second one panicked because the AnyType was no longer Int64.

Fixes #16382

Copy link
Member

@ritchie46 ritchie46 left a comment

Choose a reason for hiding this comment

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

Thanks!

@ritchie46 ritchie46 merged commit 05c2f87 into pola-rs:main May 24, 2024
28 checks passed
Wouittone pushed a commit to Wouittone/polars that referenced this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

min fails on duration types
2 participants