Skip to content

fix(clickhouse): report external-only DAG execution accurately - #648

Merged
zzylol merged 10 commits into
mainfrom
fix/clickhouse-exact-dag-provenance
Sep 11, 2026
Merged

zzylol merged 10 commits into
mainfrom
fix/clickhouse-exact-dag-provenance

Conversation

@zzylol

@zzylol zzylol commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

An installed SQL DAG that only reads ClickHouse exact subtrees has no summary panes. Requiring summary coverage prevents that DAG from executing; reporting it as hybrid would incorrectly imply ASAP state was used.

This change skips pane coverage only when the installed query has no materialization bindings and reports successful execution as exact_fallback / external_dag. Plans that read summary state retain their existing coverage checks. The evaluation runner also completes installation immediately when no backfill jobs are required.

Before this PR, an external-only plan reached an impossible zero-pane coverage check. After this PR, the same plan can execute its typed exact leaves and local relational operators without claiming summary acceleration.

Verification: actual sketchlib #139 runtime build passed. Original o11y q07 executed through the external DAG and its decoded JSON metadata/data matched ClickHouse. Independent source review passed. A separate q27 probe exposed a one-ULP floating result difference; it is not reported as bit-exact. q09/q12 require the separate relational aggregate runtime follow-up. No performance benefit is claimed; screenshots are not applicable.

Stacked on #647. The evidence validates external DAG execution, not new ASAP workload acceleration.

@zzylol
zzylol marked this pull request as ready for review September 11, 2026 14:21
@zzylol
zzylol changed the base branch from feat/clickhouse-exact-subtree-renderer to main September 11, 2026 14:25
@zzylol
zzylol merged commit 5d5d2f5 into main Sep 11, 2026
1 check passed
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