You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kyle Kavanagh (Jira)" <ji...@apache.org> on 2022/03/24 16:36:00 UTC
[jira] [Created] (ARROW-16020) [Python] Provide access to buffers underlying scalars
Kyle Kavanagh created ARROW-16020:
-------------------------------------
Summary: [Python] Provide access to buffers underlying scalars
Key: ARROW-16020
URL: https://issues.apache.org/jira/browse/ARROW-16020
Project: Apache Arrow
Issue Type: New Feature
Reporter: Kyle Kavanagh
I'm building a process to take data from pyarrow Tables and write their data a memory mapped file in a custom format. Currently, I iterate through the arrow table and must call as_py() only to convert the python value to bytes and write to the memory mapped file. If the pyarrow scalar API provided a view over the underlying storage, I could simply memcopy the values from the arrow buffer into the mmap buffer.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)