You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Nic Crane (Jira)" <ji...@apache.org> on 2021/05/21 09:58:00 UTC

[jira] [Created] (ARROW-12847) [R] StructArray doesn't print field names

Nic Crane created ARROW-12847:
---------------------------------

             Summary: [R] StructArray doesn't print field names
                 Key: ARROW-12847
                 URL: https://issues.apache.org/jira/browse/ARROW-12847
             Project: Apache Arrow
          Issue Type: Bug
          Components: R
            Reporter: Nic Crane


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)