Skip to content

refactor(planner): remove backend query rewrite path - #456

Merged
zzylol merged 2 commits into
mainfrom
refactor/planner-owned-rewrites
Sep 2, 2026
Merged

zzylol merged 2 commits into
mainfrom
refactor/planner-owned-rewrites

Conversation

@zzylol

@zzylol zzylol commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • stop running the backend QueryOptimizer on canonical Planner IR in live planning
  • classify workloads directly from ASAPPlanner frontend output
  • remove the backend-only TopK rewrite from physical compiler tests
  • correct the TopK MVP fixture to use the sketchable heavy-hitter shape (topk(...count_over_time...)), preserving Planner's distinction from generic ranking

Architectural boundary

ASAPPlanner owns semantic and structural query rewrites. ASAPQuery-backend consumes canonical pre-ASAP IR and performs only summary selection plus physical CTSA compilation.

Verification

Stack

Depends on #455.

@zzylol
zzylol changed the base branch from refactor/runtime-capability-boundary to main September 2, 2026 17:53
@zzylol
zzylol merged commit cf91160 into main Sep 2, 2026
@zzylol
zzylol deleted the refactor/planner-owned-rewrites 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