The next DuckDB release will include a function that returns the column types from the appender (https://github.com/duckdb/duckdb/pull/10401). The appender needs to be altered to check if the types being added to the data chunk match those of the table.
The next DuckDB release will include a function that returns the column types from the appender (https://github.com/duckdb/duckdb/pull/10401). The appender needs to be altered to check if the types being added to the data chunk match those of the table.