You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "William Hyun (Jira)" <ji...@apache.org> on 2022/09/03 22:44:00 UTC

[jira] [Closed] (ORC-852) Allow DynamicByteArray to Return a ByteBuffer

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

William Hyun closed ORC-852.
----------------------------

> Allow DynamicByteArray to Return a ByteBuffer
> ---------------------------------------------
>
>                 Key: ORC-852
>                 URL: https://issues.apache.org/jira/browse/ORC-852
>             Project: ORC
>          Issue Type: Improvement
>    Affects Versions: 1.8.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> Currently, the {{DynamicByteArray}} allows access to external callers by filling a {{Text}} buffer provided by the caller.  This involves a copy of data.  Instead, allow {{DynamicByteArray}} to return a {{ByteBuffer}} which gives a view into the data, which in many cases, may prevent copying the data from one buffer to another.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)