haraldnh commented on issue #45757:
URL: https://github.com/apache/arrow/issues/45757#issuecomment-2718536939
Just to start with the example:
```
import pyarrow as pa
import pyarrow.compute as pc
from datetime import datetime
from zoneinfo import ZoneInfo
tz = ZoneInfo('America/New_York')
data1 = pa.array([datetime(2025,3,9,1,30,tzinfo=tz)])
fail1 = pc.ceil_temporal(data1, unit='hour')
data2 = pa.array([datetime(2025,11,2,1,30,tzinfo=tz)])
fail2 = pc.floor_temporal(data2, unit='hour')
fail3 = pc.ceil_temporal(data2, unit='hour')
```
The two datetime hh:mm values from python are: data1 is at 01:30 EST (06:30
UTC),
while data2 is at 01:30 EDT (05:30 UTC).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]