You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Dominic Dennenmoser (Jira)" <ji...@apache.org> on 2020/05/12 20:40:00 UTC

[jira] [Created] (ARROW-8779) [R] Unable to write Struct Layout to file (.arrow, .parquet)

Dominic Dennenmoser created ARROW-8779:
------------------------------------------

             Summary: [R] Unable to write Struct Layout to file (.arrow, .parquet)
                 Key: ARROW-8779
                 URL: https://issues.apache.org/jira/browse/ARROW-8779
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
    Affects Versions: 0.17.0, 0.16.0
            Reporter: Dominic Dennenmoser


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:
{code:none}
df
|-- ID <column: string>
|-- Data <column: list>
|    |-- a <column: string>
|    |-- b <column: integer>
|    |-- c <column: factor>
|    |-- d <column: double>{code}
 I got the follow error message:
{code:none}
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{code}
 



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