marcboeker / go-duckdb

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

Fix appending multiple data chunks #236

Closed taniabogatsch closed 3 weeks ago

taniabogatsch commented 3 weeks ago

By removing the following lines from appender_test.go, I noticed that the Appender is broken when attempting to append more than one data chunk. By removing these lines, we now test multip-data-chunk appends.

if i%1000 == 0 {
    require.NoError(t, a.Flush())
}