Skip to content

Brent/query shape viz - #2263

Draft
avantgardnerio wants to merge 2 commits into
apache:mainfrom
avantgardnerio:brent/query-shape-viz
Draft

Brent/query shape viz#2263
avantgardnerio wants to merge 2 commits into
apache:mainfrom
avantgardnerio:brent/query-shape-viz

Conversation

@avantgardnerio

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

avantgardnerio and others added 2 commits August 8, 2026 18:20
One-file Python renderer (qshape.py) takes a YAML query-shape
description and emits an SVG. First example: pr2223.yaml renders
h2o Q8's parallel range-window plan, showing the "not K²" fan-in
punchline and the K²/exec ORRE within-exec redistribution.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Each shuffle_write cell now shows its N record batches as sub-strips;
an orange bracket highlights the specific batches reader k=1 consumes
from each of its 6 source writers via the range-index (bottom batch
for left-halo, top batch for right-halo, whole block for self).

ORRE row now draws full N² crossings including self-lines, making
the K²/exec cost fully visible against the shuffle's O(K) punchline.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant