Skip to content

fix(layout): normalize rebuilt ListView children before writing - #11371

Merged
robert3005 merged 2 commits into
vortex-data:developfrom
quantcast:cwirt/upstream-list-view-normalization
Nov 10, 2026
Merged

robert3005 merged 2 commits into
vortex-data:developfrom
quantcast:cwirt/upstream-list-view-normalization

Conversation

@ChristopherWirt

@ChristopherWirt ChristopherWirt commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes #11370.

Writing sliced ListViewArray chunks through ListLayoutStrategy can fail with Array vortex.slice is not registered for serialization. Rebuilding the view can leave a lazy elements slice, which is passed directly to the child writer.

The ListArray path already normalizes its children with reset_offsets. This applies the same normalization after rebuilding a ListView, so its elements can be serialized too.

Changes

Testing

The nullable ListView case exposed the serialization failure in the QC fork; #11370 links the failing CI job. The restored regression has not been run on this upstream port. No tests, builds, lint or formatting commands were run.

AI assistance

Codex helped prepare the upstream port, regression coverage and PR description. I am the responsible contributor.

@robert3005 robert3005 added the changelog/fix A bug fix label Nov 10, 2026
@robert3005
robert3005 enabled auto-merge (squash) November 10, 2026 11:22
@robert3005

Copy link
Copy Markdown
Contributor

you need to fix fmt, otherwise this is good to merge

auto-merge was automatically disabled November 10, 2026 15:24

Head branch was pushed to by a user without write access

@robert3005
robert3005 enabled auto-merge (squash) November 10, 2026 15:26
@robert3005
robert3005 merged commit 37e3e9f into vortex-data:develop Nov 10, 2026
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List layout writer can fail to serialize sliced ListView chunks

2 participants