You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Romain Francois (Jira)" <ji...@apache.org> on 2020/09/22 14:55:00 UTC
[jira] [Commented] (ARROW-8712) [R] Expose strptime timestamp
parsing in read_csv conversion options
[ https://issues.apache.org/jira/browse/ARROW-8712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200130#comment-17200130 ]
Romain Francois commented on ARROW-8712:
----------------------------------------
working this out in [https://github.com/apache/arrow/pull/7807], which supports it now in the CsvConvertOptions$create() function :
CsvConvertOptions$create(timestamp_parsers = list(TimestampParser$MakeStrptime("%m/%d/%Y")))
Maybe it should allow passing a single parser as well ?
CsvConvertOptions$create(timestamp_parsers = TimestampParser$MakeStrptime("%m/%d/%Y"))
Do we want this to propagate to something more user friendly in `read_csv_arrow()` ?
> [R] Expose strptime timestamp parsing in read_csv conversion options
> --------------------------------------------------------------------
>
> Key: ARROW-8712
> URL: https://issues.apache.org/jira/browse/ARROW-8712
> Project: Apache Arrow
> Issue Type: New Feature
> Components: R
> Reporter: Wes McKinney
> Assignee: Romain Francois
> Priority: Major
> Fix For: 2.0.0
>
>
> Follow up to ARROW-8111
> It appears that CsvConvertOptions has a {{timestamp_converters}} vector: https://github.com/apache/arrow/pull/6631/files#diff-06f0ffdc5cae9f7e40e1a80b250dce47R95
--
This message was sent by Atlassian Jira
(v8.3.4#803005)