You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/08/29 02:46:00 UTC
[jira] [Resolved] (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 ]
Dongjoon Hyun resolved ORC-852.
-------------------------------
Fix Version/s: 1.8.0
Resolution: Fixed
This is resolved via https://github.com/apache/orc/pull/754
> 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.3.4#803005)