Function libduckdb_sys::duckdb_query_arrow_schema

source ·
pub unsafe extern "C" fn duckdb_query_arrow_schema(
    result: duckdb_arrow,
    out_schema: *mut duckdb_arrow_schema
) -> duckdb_state
Expand description

Fetch the internal arrow schema from the arrow result. Remember to call release on the respective ArrowSchema object.

result: The result to fetch the schema from. out_schema: The output schema. returns: DuckDBSuccess on success or DuckDBError on failure.