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)