Ben Kietzman created ARROW-7313:
-----------------------------------
Summary: [C++] Add function for retrieving a scalar from an array
slot
Key: ARROW-7313
URL: https://issues.apache.org/jira/browse/ARROW-7313
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Affects Versions: 0.15.1
Reporter: Ben Kietzman
Assignee: Ben Kietzman
Fix For: 1.0.0
It'd be useful to construct scalar values given an array and an index.
{code}
/* static */ std::shared_ptr<Scalar> Scalar::FromArray(const Array&, int64_t);
{code}
Since this is much less efficient than unboxing the entire array and accessing
its buffers directly, it should not be used in hot loops.
[~kszucs] [~fsaintjacques]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)