marcboeker / go-duckdb

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

Support missing timestamp types in the appender #194

Closed taniabogatsch closed 4 months ago

taniabogatsch commented 4 months ago

Add support for the missing timestamp types in the appender. https://github.com/marcboeker/go-duckdb/blob/f3534c6acac1a30e170c0b8a5338b4bdb85c6c1c/appender.go#L36

C.DUCKDB_TYPE_TIMESTAMP_S:  "TIMESTAMP_S",
C.DUCKDB_TYPE_TIMESTAMP_MS: "TIMESTAMP_MS",
C.DUCKDB_TYPE_TIMESTAMP_NS: "TIMESTAMP_NS",
taniabogatsch commented 4 months ago

I'll be working on this (I cannot assign myself).