Skip to content

refactor(planner): remove backend query optimizer - #458

Merged
zzylol merged 2 commits into
mainfrom
refactor/remove-query-optimizer
Sep 2, 2026
Merged

zzylol merged 2 commits into
mainfrom
refactor/remove-query-optimizer

Conversation

@zzylol

@zzylol zzylol commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • delete the unused backend query rewrite engine and its local rule implementations
  • move stage budgets, deployment constraints, and sketch resource profiles to physical::deployment
  • retain those constraints solely for physical CTSA placement
  • clarify that the remaining optimizer directory is legacy flat-plan/Pareto/TCO compatibility, not canonical query optimization

Architectural boundary

Canonical semantic rewrites are owned by ASAPPlanner. ASAPQuery-backend retains only physical deployment constraints required to place compiled stages.

Verification

  • cargo check -p control_plane -p data_plane
  • physical planner tests: 11 passed
  • physical window-fusion tests: 7 passed

Stack

Depends on #457.

@zzylol
zzylol changed the base branch from refactor/runtime-capability-adapter to main September 2, 2026 17:53
@zzylol
zzylol merged commit 51b4c6f into main Sep 2, 2026
@zzylol
zzylol deleted the refactor/remove-query-optimizer branch September 2, 2026 17:53
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