You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Nick Poorman (Jira)" <ji...@apache.org> on 2019/10/13 19:11:00 UTC

[jira] [Commented] (ARROW-6868) [Go] slicing Struct array does not slice child fields

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

Nick Poorman commented on ARROW-6868:
-------------------------------------

I suspect this is why you also get the entire struct array repeatedly printed for each element of a list when you call {{arr.String()}} when {{arr}} is an {{arrow.ListOf(arrow.StructOf(fields...)).}}

> [Go] slicing Struct array does not slice child fields
> -----------------------------------------------------
>
>                 Key: ARROW-6868
>                 URL: https://issues.apache.org/jira/browse/ARROW-6868
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Go
>            Reporter: Nick Poorman
>            Priority: Major
>
> Calls to {{array.NewSlice()}} slice the data for all the types implemented except for Struct type.
>  
> The fields of the resulting array don't appear to respect the new length and offset.



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