Repository navigation
Stateless Workers EXPLAIN PLAN tree = 1: one box per step, a frame per query fragment, exchanges as edges between the send and receive steps - #126706
Conversation
|
Workflow [PR], commit [be5b5e8] Summary: ✅
AI ReviewSummaryAdds Missing context / blind spots
Final VerdictStatus: ✅ Approve. No additional code changes requested; normal CI completion remains necessary. |
EXPLAIN PLAN tree = 1: one box per step, a frame per query fragment, exchanges as edges between the send and receive steps
…dd new test to validate the changes
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Object file sizes46 object files changed (+226.95 KiB total), 3 added.
719 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only Compile time of recompiled translation units284 translation units recompiled, 2376 s compile time in total, 281 of them have a recent master baseline. |
EXPLAIN PLAN tree = 1: one box per step, a frame per query fragment, exchanges as edges between the send and receive stepsEXPLAIN PLAN tree = 1: one box per step, a frame per query fragment, exchanges as edges between the send and receive steps
antoniofilipovic
left a comment
There was a problem hiding this comment.
Looks good for now, let me know what do you think about this first batch of comments.
|
Thanks very much for all the comments, @antoniofilipovic ! I addressed the requests and made some improvements to comments and UI. Let me know what you think. |
Related: #124179
Related: #124600
Related: #124893
Part of the fragment-aware
EXPLAINseries described in the RFC above.Changes
EXPLAIN PLANoptiontree = 1. After optimization, a plan that stays distributed is cut and turned into aFragmentGraphexactly as forfragments = 1, and rendered by the newexplainFragmentGraphTree:F<id> · <stage name>;description = 1, its description;prettydrops the table prefix of column names;estimates = 1adds the estimated rows to the labels.TextCanvas, a small grid of cells with box drawing and wide-character support (UTF8::computeWidth), reusable by later text views (the planned timeline).Example, a join with an aggregation:
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Added
EXPLAIN PLAN tree = 1, which draws a plan executed by stateless workers (make_distributed_plan = 1) as boxes, one per step, framed by query fragment and connected by the exchanges between the fragments, followed by the list of exchanges and the levels of the fragments.Workflow [PR]
Sync PR [sync-upstream/pr/126706]
Version info
26.11.1.1258-master(included in26.11and later)