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

Kyle Kavanagh commented on ARROW-16020:
---------------------------------------

Unfortunately not compatible.  The row-wise iteration is exactly what I'm going 
for: Converting a columnar arrow dataset to a "row-wise" array of C-structs of 
a similar schema

> [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
>          Components: Python
>            Reporter: Kyle Kavanagh
>            Priority: Major
>
> 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)

Reply via email to