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
For a root that reaches a shared state, assembly's raw-vs-summary check (feat: share identical summary producers across queries after Pass 1 #515) compares that root's raw cost over the union's reads with the whole shared state. This is approximate unless the members cost about the same per read.
Planning and selection of a candidate run per target group rather than as one whole-workload candidate costed as a unit. CandidateDagInventory / enumerate_candidate_dags exist, but only tests use them.
Blocked on
Implementation of #511 (unified operator graph: OperatorNode with common metadata, no KeepPreAsap wrappers). Do not start before #511 is implemented.
The merged per-workload graph should be built on #511's common operator graph rather than on today's per-root post-ASAP DAG.
Scope
Assemble the selected per-root plans into one workload DAG with shared nodes deduplicated, and compile that DAG into one PhysicalASAPDAG.
PlanOutput carries the workload-level plan, each query's root ID, and deduplicated deployments.
Goal
#509 defines a candidate as a DAG for the whole workload, and selection returns one
PhysicalASAPDAGwith each shared summary costed once. Today:PlanOutputholds oneQueryLifecyclePlanper query.PhysicalASAPDAG(renamed in refactor!: rename planner candidate types to the #509 stage names #514) is compiled from one root. A summary shared by feat: share identical summary producers across queries after Pass 1 #515 appears in several plans, and consumers dedupe it byRcpointer.CandidateDagInventory/enumerate_candidate_dagsexist, but only tests use them.Blocked on
Implementation of #511 (unified operator graph:
OperatorNodewith common metadata, noKeepPreAsapwrappers). Do not start before #511 is implemented.The merged per-workload graph should be built on #511's common operator graph rather than on today's per-root post-ASAP DAG.
Scope
PhysicalASAPDAG.PlanOutputcarries the workload-level plan, each query's root ID, and deduplicated deployments.References
#509 (Stages, "3. Plan selection"), #514, #515, #519.