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/06/10 14:52:00 UTC
[jira] [Closed] (ARROW-12809) [C++] Add StrptimeOptions defaults
[ https://issues.apache.org/jira/browse/ARROW-12809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou closed ARROW-12809.
----------------------------------
Resolution: Not A Problem
> [C++] Add StrptimeOptions defaults
> ----------------------------------
>
> Key: ARROW-12809
> URL: https://issues.apache.org/jira/browse/ARROW-12809
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Neal Richardson
> Priority: Major
>
> Per https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_string.cc#L1744 there are no default options for strptime (format, unit). But the TimestampType constructor has a default unit of milliseconds (https://github.com/apache/arrow/blob/master/cpp/src/arrow/type.h#L1236), and a reasonable default for {{format}} would be ISO8601.
> cc [~bkietz] [~wesm] for opinions as the authors of this code (according to {{git blame}})
--
This message was sent by Atlassian Jira
(v8.3.4#803005)