You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Moelf (via GitHub)" <gi...@apache.org> on 2023/01/22 21:10:04 UTC
[GitHub] [arrow-julia] Moelf commented on issue #92: Re-use PyArrow memory via PyCall
Moelf commented on issue #92:
URL: https://github.com/apache/arrow-julia/issues/92#issuecomment-1399609330
with the last gist I posted, it's practically viable, with one open question being how can we minimize the actual bytes movement in this call
```julia
julia> pywith(pa.ipc.new_stream(jl_sink, batch.schema)) do writer
writer.write_batch(batch)
end;
```
essentially, the question is if it's possible to get the ipc bytes for a pyarrow batch:
```
Python RecordBatch:
pyarrow.RecordBatch
```
without copying them through a Julia `IOBuffer`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org