[
https://issues.apache.org/jira/browse/ARROW-15666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498152#comment-17498152
]
Rok Mihevc commented on ARROW-15666:
------------------------------------
Thanks for the warning Matthew, much appreciated!
Looking at the utility-to-complexity ratio this does seem like something we'd
better avoid.
An idea would be to perhaps use the already existing pandas logic (if pandas is
available at runtime) to do the format inference and then pass the inferred
format to c++ and do the rest of the op there. Same for lubridate in R.
> [C++][Python][R] Add format inference option to StrptimeOptions
> ---------------------------------------------------------------
>
> Key: ARROW-15666
> URL: https://issues.apache.org/jira/browse/ARROW-15666
> Project: Apache Arrow
> Issue Type: Improvement
> Reporter: Rok Mihevc
> Priority: Major
>
> We want to have an option to infer timestamp format.
> See
> [pandas.to_datetime|https://pandas.pydata.org/docs/reference/api/pandas.to_datetime.html]
> and lubridate
> [parse_date_time|https://lubridate.tidyverse.org/reference/parse_date_time.html]
> for examples.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)