You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nick DiQuattro (Jira)" <ji...@apache.org> on 2020/10/30 23:20:00 UTC

[jira] [Commented] (ARROW-9676) [R] Map type support

    [ https://issues.apache.org/jira/browse/ARROW-9676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223945#comment-17223945 ] 

Nick DiQuattro commented on ARROW-9676:
---------------------------------------

[~npr] Oh, actually, I looked back on our thread and my recent test was on the wrong file. I re-checked and it works now! The previously crashing column shows as a 
 struct<analysis: 
with `as_data_frame = FALSE`, but now it parses as a nested tibble with `as_data_frame = TRUE` !!

 

> [R] Map type support
> --------------------
>
>                 Key: ARROW-9676
>                 URL: https://issues.apache.org/jira/browse/ARROW-9676
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 1.0.0
>         Environment: Amazon Linux, 32gb of ram
>            Reporter: Nick DiQuattro
>            Priority: Major
>
> When trying to collect data from a dataset based on parquet files with nested structs (column is a struct with 2 structs nested) of moderate size (1Mish rows), R crashes. If I add a filter to reduce the number of rows, the data is parsed. If I select out the struct column, it works great (up to 21M rows). My hunch is the structs resulting in data.frame columns may be the issue. I am curious if there's a way to have arrow import structs as lists instead of data.frames. Thanks for the direction to here [~neilr8133]!



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