Skip to content

COMPAT: Workaround invalid PyArrow duration conversion #54678

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

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

mroeschke
Copy link
Member

I think apache/arrow#37064 caused a pc.fill_null code path to accept duration types exposing a pyarrow bug when converting a pd.Timedelta to pa.scalar apache/arrow#37291

@mroeschke mroeschke added Compat pandas objects compatability with Numpy or Python functions Arrow pyarrow functionality labels Aug 21, 2023
@mroeschke mroeschke added this to the 2.1 milestone Aug 22, 2023
@lithomas1 lithomas1 merged commit cc76b52 into pandas-dev:main Aug 22, 2023
@lithomas1
Copy link
Member

thanks @mroeschke.

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Aug 22, 2023
@mroeschke mroeschke deleted the bug/pyarrow/duration_fill branch August 22, 2023 16:39
mroeschke added a commit that referenced this pull request Aug 22, 2023
…w duration conversion) (#54688)

Backport PR #54678: COMPAT: Workaround invalid PyArrow duration conversion

Co-authored-by: Matthew Roeschke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Failing tests on pyarrow_nightly CI
3 participants