Skip to content

Commit

Permalink
Merge pull request #237 from taniabogatsch/appender-types
Browse files Browse the repository at this point in the history
Appender support for TIME, INTERVAL, HUGEINT, DECIMAL, ENUM, and MAP
  • Loading branch information
taniabogatsch authored Jun 26, 2024
2 parents 8d7ffbb + 38709a5 commit 2ae6eb8
Show file tree
Hide file tree
Showing 10 changed files with 532 additions and 275 deletions.
2 changes: 1 addition & 1 deletion appender.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func NewAppenderFromConn(driverConn driver.Conn, schema, table string) (*Appende

// Ensure that we only create an appender for supported column types.
duckdbType := C.duckdb_get_type_id(a.types[i])
name, found := unsupportedAppenderTypeMap[duckdbType]
name, found := unsupportedTypeMap[duckdbType]
if found {
err := columnError(unsupportedTypeError(name), i+1)
destroyTypeSlice(a.ptr, a.types)
Expand Down
Loading

0 comments on commit 2ae6eb8

Please sign in to comment.