Rares Vernica created ARROW-13527:
-------------------------------------
Summary: [C++] RecordBatch::Add/SetColumn w/ ArrayData
Key: ARROW-13527
URL: https://issues.apache.org/jira/browse/ARROW-13527
Project: Apache Arrow
Issue Type: Improvement
Reporter: Rares Vernica
Given the following use case:
# Starting from a {{RecordBatch}}
# Apply a Compute Function on one column
# Add the result ({{Datum}}) as a new column to the {{RecordBatch}}
Since {{Datum::array}} returns {{ArrayData}}, it might be useful to have
{{RecordBatch::AddColumn}} and {{SetColumn}} work with {{ArrayData}} as well.
This would avoid having to call {{Datum::make_array}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)