Skip to content

refactor!: rename planner candidate types to the #509 stage names - #514

Merged
zzylol merged 1 commit into
mainfrom
refactor/509-names
Oct 2, 2026
Merged

zzylol merged 1 commit into
mainfrom
refactor/509-names

Conversation

@zzylol

@zzylol zzylol commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Why

#509 names the planner stages' outputs. This aligns the code's two unambiguous types with those names.

What

Old New Stage in #509
PlanSpace CandidateLogicalASAPDAGs Output of logical ASAP-aware optimization
PhysicalCandidate PhysicalASAPDAG One executable physical plan
UncheckedCandidate (private serde helper) UncheckedPhysicalASAPDAG
findings_from_plan_space findings_from_candidate_logical_asap_dags

All references, intra-doc links and docs/ diagrams are updated too. This is a mechanical rename with no behavior change. Serialized output is unchanged, because serde does not write struct names and the field names stay the same. One error message's text now says CandidateLogicalASAPDAGs::roots.

Known gaps

Validation

Passes on Rust 1.99: cargo fmt --check, clippy with -D warnings, and the MetricsQL baseline. On the pre-rebase base, the full workspace test run passed 1492 tests. On the current base it is running locally and in CI.

🤖 Generated with Claude Code

- PlanSpace -> CandidateLogicalASAPDAGs (stage 1 output)
- PhysicalCandidate -> PhysicalASAPDAG (element of the stage 2 candidate
  set; one is chosen by selection)
- UncheckedCandidate -> UncheckedPhysicalASAPDAG (private serde helper)

Identifiers embedding these names, doc comments and docs/ follow.
No behavior or serialized-output change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zzylol
zzylol force-pushed the refactor/509-names branch from 530ec7d to d8ecc9f Compare October 2, 2026 00:30
@zzylol
zzylol merged commit 2a2a4fa into main Oct 2, 2026
1 check passed
zzylol added a commit that referenced this pull request Oct 2, 2026
Resolve the conflict in docs/design_docs/proposals/operator-sharing.md by
keeping this PR's version. Since this branch was cut, main changed two lines
in sections that this PR rewrites:
- the MaintainPopulation/ReadPopulation timing row (lifecycle-set population
  timing, from the lifecycle stack), and
- PlanSpace -> CandidateLogicalASAPDAGs (#514).
Neither line exists in this PR's rewritten §2, which already assigns timing
to physical planning under #509.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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