Skip to content

[C++] Timezone database configuration and access #28868

@asfimport

Description

@asfimport

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.

We have the following options for getting a timezone database:

  1. local (non-windows) OS timezone database - no work required.

  2. arrow bundled folder - we could bundle the database at build time for windows. Database would slowly go stale.

  3. 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.

  4. local user-provided folder - user could provide a location at buildtime. Nice to have.

  5. allow runtime configuration - at runtime say: "the tzdata can be found at this location"

    For more context see: ARROW-12980 and PEP 615.

Reporter: Will Jones / @wjones127
Assignee: Will Jones / @wjones127
Watchers: Rok Mihevc / @rok

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-13168. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions