You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2021/06/24 17:05:00 UTC

[jira] [Created] (ARROW-13168) [C++] Timezone database configuration and access

Rok Mihevc created ARROW-13168:
----------------------------------

             Summary: [C++] Timezone database configuration and access
                 Key: ARROW-13168
                 URL: https://issues.apache.org/jira/browse/ARROW-13168
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Rok Mihevc


Note: currently timezone database is not available on windows so timezone aware operations will fail.

We're using tz.h library which needs an updated timezone database to correctly handle timezoned timestamps. See [installation instructions|https://howardhinnant.github.io/date/tz.html#Installation].

We have the following options for getting a timezone database:
 # local (non-windows) OS timezone database - no work required.
 # arrow bundled folder - we could bundle the database at build time for windows. Database would slowly go stale.
 # download it from IANA Time Zone Database at runtime - tz.h gets the database at runtime, but curl (and 7-zip on windows) are required.
 # local user-provided folder - user could provide a location at buildtime. Nice to have.
 # allow runtime configuration - at runtime say: "the tzdata can be found at this location"

For more context see: [ARROW-12980|https://github.com/apache/arrow/pull/10457]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)