[
https://issues.apache.org/jira/browse/ARROW-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135622#comment-16135622
]
Wes McKinney commented on ARROW-1384:
-------------------------------------
The scope of the issue is to create an Arrow library function that writes a
record batch to a buffer that gets allocated from a passed memory pool. So
here's an example function prototype
{code}
Status SerializeRecordBatch(const RecordBatch& batch, MemoryPool* pool,
std::shared_ptr<Buffer>* out);
{code}
> [C++] Add convenience function for serializing a record batch to an IPC
> message
> --------------------------------------------------------------------------------
>
> Key: ARROW-1384
> URL: https://issues.apache.org/jira/browse/ARROW-1384
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Fix For: 0.7.0
>
>
> This is slightly awkward to do outside of the context of the stream or file
> writer
> see example in thirdparty use:
> https://github.com/mapd/mapd-core/blob/master/QueryEngine/ResultSetConversion.cpp#L444
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)