You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/07/02 09:00:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-13247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joris Van den Bossche updated ARROW-13247:
------------------------------------------
    Labels: timestamp timezone  (was: )

> [C++] Kernel to convert timestamp with timezone to another timezone (metadata-only change)
> ------------------------------------------------------------------------------------------
>
>                 Key: ARROW-13247
>                 URL: https://issues.apache.org/jira/browse/ARROW-13247
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Joris Van den Bossche
>            Priority: Major
>              Labels: timestamp, timezone
>
> 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|https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.tz_convert.html] in pandas, or [with_tz|https://lubridate.tidyverse.org/reference/with_tz.html] in R's lubridate package,{{withZone}} in Joda or [withZoneSameInstant|https://docs.oracle.com/javase/8/docs/api/java/time/ZonedDateTime.html#withZoneSameInstant-java.time.ZoneId-] in Java



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