You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/11/23 17:21:00 UTC
[jira] [Closed] (ARROW-13348) [C++] Allow timestamp parser to parse offset strings
[ https://issues.apache.org/jira/browse/ARROW-13348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou closed ARROW-13348.
----------------------------------
Resolution: Duplicate
> [C++] Allow timestamp parser to parse offset strings
> ----------------------------------------------------
>
> Key: ARROW-13348
> URL: https://issues.apache.org/jira/browse/ARROW-13348
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Weston Pace
> Priority: Major
>
> Neither the ISO8601 parser nor the strptime parser support parsing timezone offset strings (e.g. {{2017-08-19 12:22:11.802755+00}}). These are sometimes emitted by other tools (e.g. Postgresql) and should be supported for compatibility. I think it's acceptable for them to parse to Timestamp(units, "UTC") or Timestamp(units, offset) whichever is more convenient.
> This issue doesn't necessarily require supporting tzdata timezone names (e.g. "America/Denver", etc.) and those technically aren't ISO8601 compliant anyways.
> Support should be added to both the ISO-8601 parser (which should support 00:00, 0000, and 00) and the strptime parser (which should add support for %z).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)