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)