quackdb_internal::ffi

Function duckdb_arrow_scan

Source
pub unsafe extern "C" fn duckdb_arrow_scan(
    connection: *mut _duckdb_connection,
    table_name: *const i8,
    arrow: *mut _duckdb_arrow_stream,
) -> u32
Expand description

Scans the Arrow stream and creates a view with the given name.

connection: The connection on which to execute the scan. table_name: Name of the temporary view to create. arrow: Arrow stream wrapper. returns: DuckDBSuccess on success or DuckDBError on failure.