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

[R] $columns on Table and RB should be named

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 7.0.0
    • None
    • R

    Description

      Currently, $columns method returns columns as a list without names. It would be nice if they were named instead, similar to as.list on a data.frame.

      > library(arrow)
      > names(record_batch(x = 1, y = 'a')$columns)
      NULL
      > names(arrow_table(x = 1, y = 'a')$columns)
      NULL
      > as.list(data.frame(x = 1, y = 'a'))
      $x
      [1] 1
      
      $y
      [1] "a"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            wjones127 Will Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: