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

[R] Error when trying to write POSIXlt data to CSV

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • R
    • None

    Description

      I get an error trying to write a tibble of POSIXlt data to a file. The error is a bit misleading as it refers to the column being of length 0.

      posixlt_data <- tibble::tibble(x = as.POSIXlt(Sys.time()))
      write_csv_arrow(posixlt_data, "posixlt_data.csv")
      
      Error: Invalid: Unsupported Type:POSIXlt of length 0
      

      See also:

      arrow_table(posixlt_data)
      
      Table
      2 rows x 2 columns
      $x <POSIXlt of length 0>
      $y <int32>
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: