On Thu, 29 Apr 2021 13:32:38 -0000 Doron Chen <[email protected]> wrote: > Hi, > Is there a way create a Rust RecordBatch from an (FFI_ArrowArray, > FFI_ArrowSchema) pair? > Thanks, Doron
Assuming Rust doesn't already expose an API for that, a simple way is to use: first create an Array from the FFI pair, check that's it's a struct array, then convert that struct array to a record batch. This is basically how it's done on the C++ side. Regards Antoine.
