rerun_c::arrow_utils

Function arrow_array_from_c_ffi

Source
pub unsafe fn arrow_array_from_c_ffi(
    array: FFI_ArrowArray,
    datatype: DataType,
) -> Result<ArrayRef, CError>
Expand description

Converts a C-FFI arrow array into a Rust component batch, taking ownership of the underlying arrow data.

ยงSafety

This struct assumes that the incoming data agrees with the C data interface.