jorisvandenbossche commented on pull request #12528:
URL: https://github.com/apache/arrow/pull/12528#issuecomment-1055262792
A somewhat contrived example that currently gives a nonexistent error with
rounding (it requires an atypical `multiple` to end up in a gap):
```
>>> arr = pc.assume_timezone(pa.array([pd.Timestamp("2015-03-29
02:30:00")]), "Europe/Brussels", nonexistent="latest")
>>> pc.round_temporal(arr, 16, "minute")
...
ArrowInvalid: Local time does not exist: 2015-03-29 02:56:00.000000 is in a
gap between
2015-03-29 02:00:00 CET and
2015-03-29 03:00:00 CEST which are both equivalent to
2015-03-29 01:00:00 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]