You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dragoș Moldovan-Grünfeld (Jira)" <ji...@apache.org> on 2022/01/25 13:27:00 UTC

[jira] [Commented] (ARROW-14199) [R] bindings for format where possible

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

Dragoș Moldovan-Grünfeld commented on ARROW-14199:
--------------------------------------------------

How to best go about implementing this, given that {{format()}} methods are so large in scope? Do we start with a date-time binding? (i.e. register a binding inside {{register_bindings_datetime()}}). If we start with date-time, then {{format.POSIXct()}} would be the first one and should be identical to {{strftime()}} since {{base::strftime()}} is a wrapper around {{format()}}.

> [R] bindings for format where possible
> --------------------------------------
>
>                 Key: ARROW-14199
>                 URL: https://issues.apache.org/jira/browse/ARROW-14199
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: R
>            Reporter: Jonathan Keane
>            Assignee: Dragoș Moldovan-Grünfeld
>            Priority: Major
>             Fix For: 8.0.0
>
>
> Now that we have {{strftime}}, we should also be able to make bindings for {{format()}} as well. This might be complicated / we might need to punt on a bunch of types that {{format()}} can take but arrow doesn't (yet) support formatting of them, that's ok. 
> Though some of those might be wrappable with a handful of kernels stacked together: {{format(float)}} might be round + cast to character



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