Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
The goal of this issue is to support consuming C Data arrays from Rust using FFI.
The use-case that motivated this issue was the possibility of running DataFusion from Python and support moving arrays from DataFusion to Python/Pyarray and vice-versa.
In particular, so that users can write Python UDFs that expect arrow arrays and return arrow arrays, in the same spirit as pandas-udfs in Spark work for Pandas.
The brute-force way of writing these arrays is by converting element by element from and to native types. The efficient way of doing it to pass the memory address from and to each implementation, which is zero-copy.
To support the latter, we need an FFI implementation in Rust that produces and consumes C's Data interface
Attachments
Issue Links
- is related to
-
ARROW-10109 [Rust] Add support to produce a C Data interface
- Resolved