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 apply_to_inner's dtype #12010

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

reswqa
Copy link
Collaborator

@reswqa reswqa commented Oct 25, 2023

This fixes #11978.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Oct 25, 2023

let inner_dtype = LargeListArray::default_datatype(out.dtype().to_arrow());
let arr = LargeListArray::new(
inner_dtype,
Copy link
Collaborator Author

@reswqa reswqa Oct 25, 2023

Choose a reason for hiding this comment

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

This inner_dtype seems should be the dtype of backed values instead of out(maybe logical).

@reswqa reswqa marked this pull request as ready for review October 26, 2023 04:38
@ritchie46 ritchie46 merged commit a397e97 into pola-rs:main Oct 26, 2023
24 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.

Panic with repeat_by and Date/Datetime datatype
2 participants