[
https://issues.apache.org/jira/browse/ORC-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Hyun closed ORC-1661.
-----------------------------
> [C++] Better handling when TZDB is unavailable
> ----------------------------------------------
>
> Key: ORC-1661
> URL: https://issues.apache.org/jira/browse/ORC-1661
> Project: ORC
> Issue Type: Improvement
> Components: C++
> Reporter: Gang Wu
> Assignee: Gang Wu
> Priority: Major
> Fix For: 2.1.0
>
>
> When /usr/share/zoneinfo is unavailable and TZDIR env is unset, creating C++
> ORC reader will crash on Windows. We need to better deal with this case. See
> context from the Apache Arrow community:
> [https://github.com/apache/arrow/issues/36026] and
> [https://github.com/apache/arrow/issues/40633]
>
> We could perhaps do following things:
> * Make sure it does not crash when TZDB is missing (on Windows). The
> prerequisite is to enable running C++ unit tests on Windows.
> * More TZDB search locations. (e.g. $CONDA_PREFIX/usr/share/zoneinfo)
> * Do not eagerly reading TZDB when timestamp types are not required.
> * Add a runtime config to set TZDB location.
> * Ship TZDB with the ORC library while building on Windows?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)