Skip to content

[Python] floor_temporal and ceil_temporal bugs on DST changeover. #45757

@haraldnh

Description

@haraldnh

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions