You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/08/30 22:49:00 UTC

[jira] [Commented] (ARROW-1860) [C++] Add data structure to "stage" a sequence of IPC messages from in-memory data

    [ https://issues.apache.org/jira/browse/ARROW-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598010#comment-16598010 ] 

Wes McKinney commented on ARROW-1860:
-------------------------------------

I will need to revisit this in the context of Flight RPC, where this data structure may be used to coordinate writes onto the GRPC output stream

> [C++] Add data structure to "stage" a sequence of IPC messages from in-memory data
> ----------------------------------------------------------------------------------
>
>                 Key: ARROW-1860
>                 URL: https://issues.apache.org/jira/browse/ARROW-1860
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>              Labels: flight, pull-request-available
>             Fix For: 0.12.0
>
>         Attachments: text.html
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently, when you need to pre-allocate space for a record batch or a stream (schema + dictionaries + record batches), you must make multiple passes over the data structures of interest (and use e.g. {{MockOutputStream}} to compute the size of the output buffer). It would be useful to make a single pass to "prepare" the IPC payload for both sizing and writing to prevent having to make multiple passes



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)