Skip to content

Add layout scan physical plan model - #9142

Open
joseph-isaacs wants to merge 5 commits into
developfrom
vortex-plan
Open

Add layout scan physical plan model#9142
joseph-isaacs wants to merge 5 commits into
developfrom
vortex-plan

Conversation

@joseph-isaacs

@joseph-isaacs joseph-isaacs commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a standalone Plan / PlanRef model for layout scan planning
  • represent flat, chunked, dictionary, list, struct, expression, and row-index plans
  • reject unsupported layout kinds instead of wrapping them in a generic layout plan
  • lazily initialize and cache high-fanout chunk and struct-field plans
  • preserve lazy children through optimization so unrequested descendants remain unmaterialized
  • keep expression-plan construction separate from explicit plan optimization
  • expose stable logical child ordering and composable plan-tree display
  • construct built-in plan trees through vortex_layout::plan::new_plan
  • add plan-only tests
  • define a layout scan plan as the query-specific physical plan of layout reads needed to satisfy one query
  • leave plan execution and its result API to a future PR

Checks

  • cargo test -p vortex-layout --doc

Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
@joseph-isaacs
joseph-isaacs marked this pull request as ready for review August 4, 2026 16:10
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant