[
https://issues.apache.org/jira/browse/ARROW-9070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney closed ARROW-9070.
-------------------------------
Resolution: Duplicate
Dup of ARROW-8769. Definitely we should have this
> [C++] StructScalar needs field accessor methods
> -----------------------------------------------
>
> Key: ARROW-9070
> URL: https://issues.apache.org/jira/browse/ARROW-9070
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Neal Richardson
> Priority: Major
> Fix For: 1.0.0
>
>
> The minmax compute function returns a struct with fields "min" and "max". So
> to write an R binding for the {{min()}} method on arrow objects, I call
> "minmax" and then take the "min" field from the result. However, at least
> from my reading of scalar.h compared with array_nested.h, there are no
> field/GetFieldByName/etc. methods for StructScalar, so I can't get it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)