[C++] orc::TimezoneError Can't open /usr/share/zoneinfo/GMT-00:00
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
When reading some ORC files, pyarrow orc throws the following error on `read()`:
```java
o = pf.read()
```
`terminate called after throwing an instance of 'orc::TimezoneError'`
`what(): Can't open /usr/share/zoneinfo/GMT-00:00`
While it's true this folder does not exist, I don't think it normally does. Our server has folders for `GMT`, `GMT0`, `GMT-0`, and `GMT+0`.
ORC file was created using HIVE, compressed with Snappy. Other files from the same table/partition do not throw this error. Files can be read with Hive.
We created a soft link from the existing `GMT` timezone to this one, and it fixed the issue. Then shortly I got the same error, but for `GMT+00:00`... :D Soft link fixed this one also.
**Reporter**: [Peter Wicks](https://issues.apache.org/jira/browse/ARROW-4966)
**Note**: *This issue was originally created as [ARROW-4966](https://issues.apache.org/jira/browse/ARROW-4966). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Contributor guide
Assessment
This issue has not been assessed yet.