You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Rares Vernica (Jira)" <ji...@apache.org> on 2021/08/02 09:38:00 UTC

[jira] [Created] (ARROW-13527) [C++] RecordBatch::Add/SetColumn w/ ArrayData

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)