Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14469

[R] Binding for lubridate::month() doesn't have `label` argument implemented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • R

    Description

      It'll be worth checking the other lubridate temporal extraction bindings to check if any others need extra arguments implementing too

      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 
      
      

      Attachments

        Issue Links

          Activity

            People

              thisisnic Nicola Crane
              thisisnic Nicola Crane
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m