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

[C++] Kernel to convert timestamp with timezone to another timezone (metadata-only change)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      Related to ARROW-13033, but assuming you already have a tz-aware "timestamp with timezone" type, and you want to change it to have another timezone.

      In practice, this is a trivial, metadata-only change since in both cases the actual values are stored in UTC, and so it's only changing the tz parametrization of the timestamp type. But, for convenience, I think it would still be useful to have it as an actual kernel to easily integrate this operation in this framework.

      References: tz_convert in pandas, or with_tz in R's lubridate package,withZone in Joda or withZoneSameInstant in Java

      Attachments

        Activity

          People

            Unassigned Unassigned
            jorisvandenbossche Joris Van den Bossche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: