You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8857f25
Browse filesBrowse the repository at this point in the historyBrowse files
| Planner Physical Plan Compiler | Concrete operators, schemas, dependencies, roots, sharing and materialization frontiers |
56
+
| Backend candidate selection | Deployable workload candidate, using capabilities and scoped cost inputs; shared work is costed once within that candidate |
54
57
| Backend Deployment Plan Compiler | Concrete source/state bindings, stored-output identities, placement, scheduling and installation version |
55
58
| Backend engines | Resolve inputs, drive execution, publish results, check actual readiness and apply installed fallback policy |
- Missing, overlapping, incomplete or incompatible state fails eligibility.
145
+
- Dataset identity changes alter definitions; endpoint/replica changes do not.
146
+
- Query branches preserve the whole-query revision fence during publication.
147
+
- Same-version recovery validates bindings and completeness; new-version reads
148
+
never silently adopt old state and follow warm-up failure policy.
135
149
- Staging failure, cancellation, resource limits, restart and version switching
136
150
preserve documented behavior.
137
151
- Obsolete plans are rejected and backend builds/tests do not require Collector.
138
152
139
-
Trace a query from Planner selection through physical compilation, deployment
153
+
Trace a query from Planner candidate construction through Backend selection, deployment
140
154
binding, state publication and query execution. Verify exact operations against
141
155
independent results and sketches against their supported guarantees. The design
142
156
is not accepted solely because example schemas parse or unit tests pass.
@@ -155,7 +169,7 @@ Ad-hoc discovery is deferred.
155
169
| Planner dependency integration (#774) | Consume the shared semantic export and propagate it from selected physical outputs into deployment compilation. | No backend expression normalization or synthetic semantic fingerprint from incomplete config fields. |
156
170
| Precompute/storage integration (#763) | Persist definitions and output-scoped records; authorize writes against installed bindings and recover them consistently. | Restart retains semantic descriptions; wrong-output writes fail; replacement metadata and payload remain consistent. |
157
171
| Query integration (#765) | Resolve the installed deployed output and validate definition, revision, format and coverage before invoking shared execution. | A hot-bound query never reads rebuild state; stale, missing or incompatible records take the explicit failure route. |
158
-
| Acceptance PRs (#728, #742, #759) | Update fixtures and process tests for the new contract; retain existing behavioral and performance gates. | End-to-end producer → persisted definition/record → recovery → bound read, with negative identity and coverage cases. |
172
+
| Acceptance PRs (#728, #742, #775) | Update fixtures and process tests for the new contract; validate individual queries and ensembles using synthetic costs. | End-to-end producer → persisted definition/record → recovery → bound read, with negative identity and coverage cases. |
159
173
160
174
These are implementation responsibilities and acceptance gates. PR ordering
161
175
must follow actual dependency commits, not an outdated stack list.
@@ -170,4 +184,5 @@ in the same implementation PR.
170
184
171
185
The open shared-library integration PR is #774, replacing the already merged
172
186
#770. The active order after #771 is #774 → #763 → #765 → #761 → #728
173
-
→ #742 → #759; old #770 base metadata is not part of this chain.
187
+
→ #742 → #775. Real-evidence work in #776, #777, #778 and #759 is deferred;
Copy file name to clipboardExpand all lines: docs/design_docs/planner-backend-glossary.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,9 @@ in the serialized API.
10
10
11
11
| Term | Meaning |
12
12
| --- | --- |
13
-
| Selected post-ASAP DAG | Planner-selected computation graph, including summary producers, shared dependencies and query readouts. |
13
+
| Selected post-ASAP DAG |The Planner-produced logical computation underlying the physical candidate selected by Backend, including summary producers, shared dependencies and query readouts. |
14
14
| Physical DAG | Planner-owned concrete operators, typed input boundaries, dependencies and roots; no storage identities or placement. |
15
+
| Physical candidate | A Planner-produced physical realization of a workload; Backend checks deployment feasibility and selects using scoped costs. |
15
16
| Deployment plan | System instantiation of physical computation with concrete source/state bindings and operational policy. |
16
17
| Summary producer | An operation or subgraph that builds summary state. Multiple queries may share its stored output. |
17
18
|`SummaryMaintenanceLifecyclePlan`| Planner result associating a post-ASAP root with selected maintenance requirements for its unique reachable summary producers, plus workload and costing context. |
@@ -21,7 +22,7 @@ in the serialized API.
21
22
|`QueryPlan`| Planner query Physical DAGs plus backend input bindings, query/result associations and fallback policy. |
22
23
| Readout / `SummaryEstimate`| Operation that obtains a query value from summary state, such as p99 from KLL. |
23
24
| Derived summary state | Stored summary state computed from existing summary states. Earlier discussion calls this a “derived materialization”; it does not require a separate catalog object. |
24
-
| Exact residual| Part of the selected query computed exactly around summary operations, such as supported filtering or arithmetic after readout. It does not make the whole approximate result exact. |
25
+
| Exact computation around summaries| Part of the selected query computed exactly around summary operations, such as supported filtering or arithmetic after readout. It does not make the whole approximate result exact. |
25
26
| Exact fallback | Configured execution of the original query through an exact route when the summary plan cannot serve it. |
26
27
27
28
For example, merging five compatible one-minute KLL summaries and storing the
@@ -51,6 +52,7 @@ Migration of existing types and fields is covered in the
51
52
| Schema / encoding | Schema describes the state structure; encoding describes how that structure is represented as bytes. |
52
53
| Semantic discovery | Future Planner search for legal query rewrites over persisted definitions; distinct from fingerprint equality and record lookup. |
53
54
| Deployment resolution | Backend selection of authorized stored outputs realizing a selected definition. |
55
+
| Logical dataset identity | Stable semantic source identity supplied before Planner definition export; distinguishes datasets independently of endpoints or replicas. |
54
56
| Definition ID | Fingerprint of a versioned canonical semantic description; different input expressions must remain distinguishable. |
55
57
| Provenance | Mapping from physical plan operations back to the selected Planner computation. |
56
58
@@ -68,7 +70,7 @@ reclassifying logical nodes or changing that boundary.
68
70
| Retention | How long state remains available; distinct from its input range and refresh cadence. |
69
71
| Readiness | Whether the required state is available with valid format and sufficient coverage/completeness for a read. Plan installation alone does not establish readiness. |
70
72
| Backend capability | Declaration of supported implementation combinations: algorithm/parameters, maintenance mode, input kind, window behavior and format. |
71
-
| Physical cost evidence | Scoped measurements or estimates used to compare executable alternatives; includes workload and implementation context. |
73
+
| Physical cost evidence | Scoped measurements or estimates used to compare executable candidates; includes workload and implementation context. |
72
74
| Compiler contract | Required inputs, outputs, validation rules and guarantees, including matching writer/reader definitions, formats, partitions and plan versions. |
0 commit comments