MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / duckDBType

Function duckDBType

plugins/destination/duckdb/client/write.go:55–60  ·  view source on GitHub ↗
(c schema.Column)

Source from the content-addressed store, hash-verified

53}
54
55func duckDBType(c schema.Column) string {
56 if keyListColumn(c) {
57 return "varchar"
58 }
59 return arrowToDuckDB(c.Type)
60}
61
62func (c *Client) upsert(ctx context.Context, tmpTableName string, table *schema.Table) error {
63 var sb strings.Builder

Callers 2

createTableIfNotExistMethod · 0.85

Calls 2

keyListColumnFunction · 0.85
arrowToDuckDBFunction · 0.85

Tested by 1