You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/05/12 20:50:00 UTC
[jira] [Commented] (ARROW-8779) [R] Unable to write Struct Layout
to file (.arrow, .parquet)
[ https://issues.apache.org/jira/browse/ARROW-8779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105733#comment-17105733 ]
Neal Richardson commented on ARROW-8779:
----------------------------------------
Could you please provide a minimal reproducible example?
> [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.16.0, 0.17.0
> Reporter: Dominic Dennenmoser
> Priority: Major
> Labels: features, patch
>
> 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}
> I have tried it with {{arrow}} 0.17.0 under {{R}} 3.6.1 .
--
This message was sent by Atlassian Jira
(v8.3.4#803005)