asfimport opened a new issue, #420:
URL: https://github.com/apache/arrow-java/issues/420

   Currently we seem to use in all applications of Arrow the IPC capabilities 
to move data between a Java process and a Python process. While this is 
0-serialization, it is not zero-copy. By taking the address and offset, we can 
already create Python buffers from Java buffers: 
https://github.com/apache/arrow/pull/1693. This is still a very low-level 
interface and we should provide the user with:
   
   - A guide on how to load Apache Arrow java libraries in Python (either 
through a fat-jar that was shipped with Arrow or how he should integrate it 
into its Java packaging)
   - `pyarrow.Array.from_jvm`, `pyarrow.RecordBatch.from_jvm`, … functions that 
take the respective Java objects and emit Python objects. These Python objects 
should also ensure that the underlying memory regions are kept alive as long as 
the Python objects exist.
     
     This issue can also be used as a tracker for the various sub-tasks that 
will need to be done to complete this rather large milestone.
   
   **Reporter**: [Uwe Korn](https://issues.apache.org/jira/browse/ARROW-2249) / 
@xhochy
   #### Related issues:
   - [[Python] Create buffer from address, size and 
base](https://github.com/apache/arrow/issues/18211) (is blocked by)
   - [[Java/Python] Add unit test for pyarrow.timeX types in 
Array.from_jvm](https://github.com/apache/arrow-java/issues/375) (is a parent 
of)
   - [[Java/Python]  Add unit test for pyarrow.decimal128 in 
Array.from_jvm](https://github.com/apache/arrow-java/issues/374) (is a parent 
of)
   - [[Java/Python] Support VarCharVector / StringArray in 
pyarrow.Array.from_jvm](https://github.com/apache/arrow-java/issues/373) (is a 
parent of)
   - [[Java/Python] Complex type conversion in 
pyarrow.Field.from_jvm](https://github.com/apache/arrow/issues/19009) (is a 
parent of)
   - [[Java/Python] Add support for dictionary type to 
pyarrow.Field.from_jvm](https://github.com/apache/arrow/issues/15719) (is a 
parent of)
   - [[Java/Python] Add pyarrow.{Array,Field}.from_jvm / 
jvm_buffer](https://github.com/apache/arrow/issues/19008) (is a parent of)
   - [[Java] Add method overload for 
VarCharVector.set(int,String)](https://github.com/apache/arrow/issues/19004) 
(is related to)
   - [[Java] Java implementation of Arrow C data 
interface](https://github.com/apache/arrow/issues/28685) (is related to)
   
   <sub>**Note**: *This issue was originally created as 
[ARROW-2249](https://issues.apache.org/jira/browse/ARROW-2249). Please see the 
[migration documentation](https://github.com/apache/arrow/issues/14542) for 
further details.*</sub>


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to