You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
duckdb: a list-of-STRUCT column is generated as duckdb.Composite[[]map[string]any] instead of a slice of a generated struct #4715
main at commit 3ad8b20 (2026-10-23). sqlc version prints v1.31.1.
What happened?
A STRUCT(...)[] column becomes duckdb.Composite[[]map[string]any] in the model. The struct's field names and types are in the schema, so sqlc could generate a Go struct for the element and type the column as a slice of it, for example:
Hi @kyleconroy, I'd like to work on this. Would you be happy with a named Go struct for the list elements, with an in-memory DuckDB test to check decoding and null fields?
Activity
Pratham2511 commentedon Dec 3, 2026
Hi @kyleconroy, I'd like to work on this. Would you be happy with a named Go struct for the list elements, with an in-memory DuckDB test to check decoding and null fields?