duckdb_schema_from_arrow

Function duckdb_schema_from_arrow 

Source
pub unsafe extern "C" fn duckdb_schema_from_arrow(
    connection: duckdb_connection,
    schema: *mut ArrowSchema,
    out_types: *mut duckdb_arrow_converted_schema,
) -> duckdb_error_data
Expand description

Transforms an Arrow Schema into a DuckDB Schema.

@param connection The connection to get the transformation settings from. @param schema The input Arrow schema. Must be released with schema->release(schema). @param out_types The Arrow converted schema with extra information about the arrow types. Must be destroyed with duckdb_destroy_arrow_converted_schema. @return The error data. Must be destroyed with duckdb_destroy_error_data.