pub unsafe extern "C" fn duckdb_data_chunk_to_arrow(
arrow_options: duckdb_arrow_options,
chunk: duckdb_data_chunk,
out_arrow_array: *mut ArrowArray,
) -> duckdb_error_data
Expand description
Transforms a DuckDB data chunk into an Arrow array.
@param arrow_options The Arrow settings used to produce arrow.
@param chunk The DuckDB data chunk to convert.
@param out_arrow_array The output Arrow structure that will hold the converted data. Must be released with
out_arrow_array->release(out_arrow_array)
@return The error data. Must be destroyed with duckdb_destroy_error_data
.