jorisvandenbossche commented on pull request #10610:
URL: https://github.com/apache/arrow/pull/10610#issuecomment-880661119
Can you also handle the case of an unknown / wrong timezone? (I thought I
already commented about that before, but don't directly see it ;)) Currently
when using such a timezone, you get a segfault:
```
In [7]: pc.tz_localize(arr, timezone="Europe/Brussels",
nonexistent="shift_forward").type
Out[7]: TimestampType(timestamp[ns, tz=Europe/Brussels])
In [8]: pc.tz_localize(arr, timezone="Europe/Brusselsss",
nonexistent="shift_forward")
terminate called after throwing an instance of 'std::runtime_error'
what(): Europe/Brusselsss not found in timezone database
Aborted (core dumped)
```
--
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]