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

[R] Implement conversion to List<Struct>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.16.0, 0.17.0
    • 1.0.0
    • R

    Description

      It seems there is no method implemented to write a StructArrow (within a TableArrow) to file. A common case would be list columns in a dataframe. If I have understood the documentation correctly, the should be realisable within the current C++ library framework.

      I tested this with the follow df structure:

      df
      |-- id <column: string>
      |-- data <column: list>
      |   |-- a <column: string>
      |   |-- b <column: integer>
      |   |-- c <column: factor>
      |   |-- d <column: double>

       I got the follow error message:

      Error in Table__from_dots(dots, schema) : NotImplemented: Converting vector to arrow type struct<a: string, b: int32, c: dictionary<values=string, indices=int8, ordered=0>, d: double> not implemented

       I have tried it with arrow 0.17.0 under R 3.6.1 .

      Attachments

        Issue Links

          Activity

            People

              romainfrancois Romain Francois
              domiden Dominic Dennenmoser
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 20m
                  2h 20m