Giorgi / DuckDB.NET

Bindings and ADO.NET Provider for DuckDB
https://duckdb.net
MIT License
437 stars 70 forks source link

Add support for composite types to Appender #191

Open Giorgi opened 5 months ago

Giorgi commented 5 months ago

Add support for writing composite types (List, Array, Struct, etc) with Appender.

Giorgi commented 5 months ago

Lists and Arrays are now implemented.

YogiCoder8888 commented 2 months ago

I'm using using a RowAppender to bulk insert a 1.5M rows with 2 fields, and Integer and List<double?>.

I get an exception:

An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module.
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

It seems to work fine when I reduce the number of rows to 5000.

Giorgi commented 2 months ago

@YogiCoder8888 Can you open a new issue with more details? Include your code and version of DuckDB.NET