Skip to content

feat(query): compile generic post-ASAP DAG bindings - #494

Merged
zzylol merged 2 commits into
mainfrom
feat/generic-post-asap-dag-compiler
Sep 4, 2026
Merged

zzylol merged 2 commits into
mainfrom
feat/generic-post-asap-dag-compiler

Conversation

@zzylol

@zzylol zzylol commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • compile every executable SummaryAgg leaf in a post-ASAP DAG, including SummaryMerge graphs
  • bind each query node directly to its materialization fingerprint at physical compile time
  • derive per-node metric identity from post-ASAP IR instead of serving-time BackendPlan candidate search
  • lower unsupported post-ASAP operators to explicit exact-fallback nodes

Architecture

This completes the intended path: post-ASAP DAG -> PhysicalPlan materializations -> node-bound QueryPlan -> generic DAG executor. Query serving performs exact SID/sketch-store reads from the installed binding and never searches materialization candidates.

This PR is stacked on #477 and should be reviewed after it. It must not be merged independently.

Validation

  • cargo test -p control_plane physical::compiler::tests (17 passed)
  • cargo test -p control_plane query_plan (8 passed)
  • cargo test -p data_plane physical_dag (1 passed)
  • cargo check -p data_plane

@zzylol
zzylol force-pushed the feat/runtime-adaptation-sampling-delta branch 2 times, most recently from 3f853e7 to 5d59617 Compare September 3, 2026 20:41
@zzylol
zzylol force-pushed the feat/generic-post-asap-dag-compiler branch from b190f1f to 19ce07d Compare September 3, 2026 20:43
@zzylol
zzylol force-pushed the feat/runtime-adaptation-sampling-delta branch from 5d59617 to 2377a02 Compare September 4, 2026 03:03
@zzylol
zzylol force-pushed the feat/generic-post-asap-dag-compiler branch from 19ce07d to efa0de4 Compare September 4, 2026 03:05
@zzylol
zzylol force-pushed the feat/runtime-adaptation-sampling-delta branch from 2377a02 to 4ff7891 Compare September 4, 2026 03:25
@zzylol
zzylol force-pushed the feat/generic-post-asap-dag-compiler branch from efa0de4 to 54601e1 Compare September 4, 2026 03:25
@zzylol
zzylol changed the base branch from feat/runtime-adaptation-sampling-delta to main September 4, 2026 03:42
@zzylol
zzylol merged commit a19d941 into main Sep 4, 2026
1 check passed
@zzylol
zzylol deleted the feat/generic-post-asap-dag-compiler branch September 12, 2026 14:48
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