Function libduckdb_sys::duckdb_query_arrow_array

source ·
pub unsafe extern "C" fn duckdb_query_arrow_array(
    result: duckdb_arrow,
    out_array: *mut duckdb_arrow_array
) -> duckdb_state
Expand description

Fetch an internal arrow struct array from the arrow result. Remember to call release on the respective ArrowArray object.

This function can be called multiple time to get next chunks, which will free the previous out_array. So consume the out_array before calling this function again.

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