apache / apache/arrow

[Python] floor_temporal and ceil_temporal bugs on DST changeover.

Open
#45,757 4 comments 0 reactions 0 assignees View on GitHub
Component: Python Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

When running a `ceil_temporal` operation that results in a timestamp hitting the spring leap forward point, pyarrow errors out with 'Local time does not exist'. Similar during the fall back switchover, both floor_temporal and ceil_temporal will error with 'Local time is ambiguous'.

Observed with pyarrow 19.0.1 on MacOS/arm64 and Linux/amd64.

### Component(s)

Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.