Skip to content

Conversation

@staticlibs
Copy link
Collaborator

This is a backport of the PR #439 to v1.4-andium stable branch.

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 is a backport of the PR duckdb#439 to `v1.4-andium` stable branch.

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 f3d6f96 into duckdb:v1.4-andium Nov 10, 2025
@staticlibs staticlibs deleted the appender_structs_buf_14 branch November 10, 2025 14:52
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.

1 participant