arrow_array::ffi_stream

Function get_stream_schema

Source
fn get_stream_schema(
    stream_ptr: *mut FFI_ArrowArrayStream,
) -> Result<SchemaRef, ArrowError>
Expand description

Gets schema from a raw pointer of FFI_ArrowArrayStream. This is used when constructing ArrowArrayStreamReader to cache schema.