You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/05/17 16:59:00 UTC

[jira] [Created] (ARROW-12809) [C++] Add StrptimeOptions defaults

Neal Richardson created ARROW-12809:
---------------------------------------

             Summary: [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


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)