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 b093ec3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/design_docs/query-dag-execution.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ publication, and protocol conversion. It does not maintain copies of the shared
12
12
runtime or generic computation algorithms. JSON and Arrow conversion at the SQL
13
13
boundary does not make Arrow the internal representation of every summary.
14
14
15
-
The [shared library design](https://github.com/ProjectASAP/ASAPPlanner/blob/feat/shared-physical-operators/docs/design_docs/physical-operators.md)
15
+
The [shared library design](https://github.com/ProjectASAP/ASAPPlanner/blob/feat/shared-physical-operators/docs/design_docs/physical-planning-and-deployment.md)
16
16
contains the architecture and DataFusion comparison. DataFusion provides mature
17
17
Arrow operators; ASAP's independent runtime directly owns shared producers and
18
18
custom summary state formats. Those states need not fit Arrow RecordBatch.
@@ -135,3 +135,17 @@ results or declared approximation guarantees as appropriate.
135
135
Local raw Scan and a universal implementation of every Planner aggregate or
136
136
extension are not part of this migration. They must not be presented as complete
137
137
through fallback routing or by tests supplied with already decoded raw batches.
138
+
139
+
## Planner compilation and deployment binding
140
+
141
+
The backend `DeploymentPlanCompiler` establishes state identities, window contracts
142
+
and query/precompute bindings. ASAPPlanner #462 owns `physical_planner`, native
143
+
operators and DAG execution. Its compiler accepts typed input contracts without
144
+
live readers and produces `CompiledPhysicalDag`; instantiation binds inputs and
145
+
checks their properties without repeating operator lowering.
146
+
147
+
The SQL relation adapter composes Planner-compiled operators into that reusable
148
+
physical representation before reading storage, then resolves typed inputs and
149
+
instantiates the selected graph. PromQL vector and maintenance adapters continue
150
+
to supply protocol/window inputs to the same native library. Source coverage,
151
+
revision admission, publication and serving remain deployment responsibilities.
0 commit comments