The next method of ArrowArrayStreamReader always re-exports the already imported Schema, to re-import it immediately afterwards:
|
let schema = FFI_ArrowSchema::try_from(schema_ref.as_ref()).ok()?; |
|
|
|
let data = from_ffi(array, &schema).ok()?; |
It would be less wasteful to pass the existing Schema to the internal FFI routines.