Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13168

[C++] Timezone database configuration and access

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              wjones127 Will Jones
              wjones127 Will Jones
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h 50m
                  8h 50m