Skip to content

docs: clarify common sub-DAG sharing terminology - #558

Merged
zzylol merged 2 commits into
mainfrom
docs/subdag-sharing
Oct 3, 2026
Merged

zzylol merged 2 commits into
mainfrom
docs/subdag-sharing

Conversation

@zzylol

@zzylol zzylol commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Why

Make the terminology used in #537 explicit in the design and developer docs.

Before this PR: CSE and summary sharing were described without a consistent definition of sub-DAG sharing.

After this PR: the docs define sub-DAG sharing as multiple consumers referencing one operator and its upstream dependencies, and common sub-DAG sharing as CSE deduplication of eligible, structurally identical computations. For example, two estimates can reference the same summary producer. Physical planning determines execution/materialization, and differing execution phases can require separate instances.

Defines the terminology in the planner-layering proposal and CSE cost decision. The mapping architecture guide links to the corresponding planner-layering section. Per review, the added paragraph in the operator-sharing proposal is removed.

Validation: reviewed the documentation diff; git diff --check passes. Documentation only.

Comment thread docs/design_docs/proposals/operator-sharing.md Outdated
Comment thread docs/develop_docs/asap-aware-mapping-architecture.md Outdated
@zzylol
zzylol merged commit 9683339 into main Oct 3, 2026
1 of 2 checks passed
@zzylol
zzylol deleted the docs/subdag-sharing branch October 3, 2026 14:39
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