[ 
https://issues.apache.org/jira/browse/ARROW-14471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488050#comment-17488050
 ] 

Dragoș Moldovan-Grünfeld edited comment on ARROW-14471 at 2/7/22, 11:41 AM:
----------------------------------------------------------------------------

We could to some processing to figure out how many characters we have (in the 
string to be parsed) in between the separators (or how many characters we have 
in total, in the cases where we have no separator) and only try with the 
suitable formats. i.e. in the example above not try to parse with {{{}%Y{}}}, 
only {{{}%y{}}}.


was (Author: dragosmg):
We could to some processing to figure out how many characters we have in 
between the separators (or how many characters we have in total, in the cases 
where we have no separator) and only try with the suitable formats. i.e. in the 
example above not try to parse with {{%Y}}, only {{%y}}.

> [R] Implement lubridate's date/time parsing functions
> -----------------------------------------------------
>
>                 Key: ARROW-14471
>                 URL: https://issues.apache.org/jira/browse/ARROW-14471
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: R
>            Reporter: Nicola Crane
>            Assignee: Dragoș Moldovan-Grünfeld
>            Priority: Major
>             Fix For: 8.0.0
>
>
> Parse dates with year, month, and day components:
> ymd() ydm() mdy() myd() dmy() dym() yq() ym() my()
>       
> Parse date-times with year, month, and day, hour, minute, and second 
> components:
> ymd_hms() ymd_hm() ymd_h() dmy_hms() dmy_hm() dmy_h() mdy_hms() mdy_hm() 
> mdy_h() ydm_hms() ydm_hm() ydm_h()
> Parse periods with hour, minute, and second components:
> ms() hm() hms()
>       



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to