Skip to content

Conversation

@staticlibs
Copy link
Collaborator

This change fixes the buffer size calculation for STRUCTs nested inside LISTs and for MAPs. It also fixes the validity mask size calculation for these cases.

Testing: additional tests added with longer MAPs (to check nested STRUCTs) and with NULL values (to check validity masks).

Fix: #437

This change fixes the buffer size calculation for `STRUCT`s nested
inside `LIST`s and for `MAP`s. It also fixes the validity mask size
calculation for these cases.

Testing: additional tests added with longer `MAP`s (to check nested
`STRUCT`s) and with `NULL` values (to check validity masks).

Fix: duckdb#437
@staticlibs staticlibs merged commit 44efeaa into duckdb:main Nov 4, 2025
10 checks passed
@staticlibs staticlibs deleted the appender_structs_buf branch November 4, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BufferOverflowException with DuckDbAppender.putMap

1 participant