You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/06/08 16:00:00 UTC
[jira] [Created] (ARROW-9070) [C++] StructScalar needs field
accessor methods
Neal Richardson created ARROW-9070:
--------------------------------------
Summary: [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
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)