Skip to content

Commit b093ec3

Browse files
committed
Merge branch 'integration/physical-stack-765' into integration/physical-stack-766
2 parents cf6650c + 90154af commit b093ec3

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

‎docs/design_docs/query-dag-execution.md‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ publication, and protocol conversion. It does not maintain copies of the shared
1212
runtime or generic computation algorithms. JSON and Arrow conversion at the SQL
1313
boundary does not make Arrow the internal representation of every summary.
1414

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)
1616
contains the architecture and DataFusion comparison. DataFusion provides mature
1717
Arrow operators; ASAP's independent runtime directly owns shared producers and
1818
custom summary state formats. Those states need not fit Arrow RecordBatch.
@@ -135,3 +135,17 @@ results or declared approximation guarantees as appropriate.
135135
Local raw Scan and a universal implementation of every Planner aggregate or
136136
extension are not part of this migration. They must not be presented as complete
137137
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

Comments
 (0)