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
This commit fixes a regression in EXPLAIN ANALYZE output recently added
in 44da781. Before that change we
always performed the association of the current planNode with the last
stage of the physical plan, and after that change we started doing the
association only when a new stage is added. However, this resulted in
missing associations when a particular planNode didn't result in a new
stage of the physical plan (for example, renderNode is handled as
a projection by adjusting PostProcessSpec of already existing stage). As
a result, we could lose the ability to associate execution statistics to
some nodes in EXPLAIN ANALYZE output.
This is now fixed by bringing back the unconditional call to associate the
current planNode with the last stage of the physical plan, even if a new
stage isn't added. This required teaching `associateNodeWithComponents`
to "swallow" duplicate associations and make them no-ops (otherwise, we
would double-count statistics in some cases).
Release note: None
0 commit comments