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

[jira] [Assigned] (ARROW-14469) [R] Binding for lubridate::month() doesn't have `label` argument implemented

     [ https://issues.apache.org/jira/browse/ARROW-14469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicola Crane reassigned ARROW-14469:
------------------------------------

    Assignee: Nicola Crane

> [R] Binding for lubridate::month() doesn't have `label` argument implemented
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-14469
>                 URL: https://issues.apache.org/jira/browse/ARROW-14469
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Nicola Crane
>            Assignee: Nicola Crane
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It'll be worth checking the other lubridate temporal extraction bindings to check if any others need extra arguments implementing too
> {code:r}
> library(lubridate)
> dates_table <- data.frame(
>   date = as.Date(c("1987-10-09",  "2021-10-26"))
> )
> dates_table_arrow <- Table$create(dates_table)
> dates_table_arrow %>%
>   mutate(
>     month = month(date, label = TRUE)
>   ) %>%
>   collect()
> # Error: Invalid: Function month accepts 1 arguments but attempted to look up kernel(s) with 2 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)