marcboeker / go-duckdb

go-duckdb provides a database/sql driver for the DuckDB database engine.
MIT License
623 stars 97 forks source link

Initialise appender types with duckdb_appender_column_type #177

Closed taniabogatsch closed 6 months ago

taniabogatsch commented 6 months ago

In this PR, we use duckdb_appender_column_count and duckdb_appender_column_type to initialize the column types during appender creation.

For more information, see #171, #155, and https://github.com/marcboeker/go-duckdb/pull/168#issuecomment-1952423420.

marcboeker commented 6 months ago

Thanks @taniabogatsch