You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/17 13:45:00 UTC

[jira] [Updated] (ARROW-6527) [C++] Add OutputStream::Write() variant taking an owned buffer

     [ https://issues.apache.org/jira/browse/ARROW-6527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-6527:
----------------------------------
    Labels: pull-request-available  (was: )

> [C++] Add OutputStream::Write() variant taking an owned buffer
> --------------------------------------------------------------
>
>                 Key: ARROW-6527
>                 URL: https://issues.apache.org/jira/browse/ARROW-6527
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>
> When Write() takes an arbitrary data pointer and needs to buffer it, it is mandatory to copy the data because the pointer may go stale, or the data may be overwritten.
> Buf if the user has an immutable Buffer, then it should be enough to store the Buffer as necessary, without doing a memory copy. We could add a special Write() variant for that.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)