[ 
https://issues.apache.org/jira/browse/ARROW-12847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neal Richardson updated ARROW-12847:
------------------------------------
    Component/s:     (was: R)
                 C++

> [C++] StructArray ToString method doesn't print field names
> -----------------------------------------------------------
>
>                 Key: ARROW-12847
>                 URL: https://issues.apache.org/jira/browse/ARROW-12847
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Nic Crane
>            Priority: Minor
>
> As discussed here 
> ([https://github.com/apache/arrow/pull/10343#discussion_r634466016),] 
> StructArray prints field names as "child 0" and "child 1".
> {code:java}
> > value_counts(Array$create(mtcars$cyl))
> StructArray
> <struct<values: double, counts: int64>>
> -- is_valid: all not null
> -- child 0 type: double
>   [
>     6,
>     4,
>     8
>   ]
> -- child 1 type: int64
>   [
>     7,
>     11,
>     14
>   ]{code}
>  



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

Reply via email to