You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/03 06:36:55 UTC

[GitHub] [arrow-rs] hu6360567 commented on issue #994: Confused import/export API when interacting with C++

hu6360567 commented on issue #994:
URL: https://github.com/apache/arrow-rs/issues/994#issuecomment-985254643


   In `pyarrow.rs`, I found some snippet.
   https://github.com/apache/arrow-rs/blob/e9be49d962560ce5b87544a2933d8b207322cf60/arrow/src/pyarrow.rs#L110-L132
   
   The desired workflow of importing array from FFI:
   1. prepare ArrowArray and leak both pointers to FFI
   2. write C Data Interface into both pointers
   3. Import from both pointers, allocated in first step


-- 
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