Skip to content

perf(layout): evaluate plain struct field projections directly - #10372

Closed
joseph-isaacs wants to merge 2 commits into
developfrom
ji/struct-field-projection
Closed

joseph-isaacs wants to merge 2 commits into
developfrom
ji/struct-field-projection

Conversation

@joseph-isaacs

Copy link
Copy Markdown
Contributor

Summary

Plain multi-column struct projections rebuild partition packs and expression arrays for each batch. Recognize projections made entirely of root-field accesses, evaluate the child readers directly, and assemble the requested struct. Computed expressions retain the general evaluator.

Changes

Regression cases cover reordered and repeated fields, output nullability, parent nulls, row masks, and computed-projection fallback.

Validation

  • cargo test -p vortex-layout --lib --locked -j2 layouts::struct_::reader:: — 12 passed.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale This PR is stale and will be auto-closed soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants