Skip to content

Commit

Permalink
Fix X coord for Compute Spilling Info
Browse files Browse the repository at this point in the history
  • Loading branch information
Hor911 committed Feb 14, 2025
1 parent f97d523 commit f8f3ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/public/lib/ydb_cli/common/plan2svg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ void TPlan::PrintSvg(ui64 maxTime, ui32& offsetY, TStringBuilder& background, TS
PrintStageSummary(background, canvas, Config.SummaryLeft, Config.SummaryWidth, y0, INTERNAL_HEIGHT, s->MaxMemoryUsage, Config.Palette.MemMedium, Config.Palette.MemLight, textSum, tooltip, taskCount);

if (s->SpillingComputeBytes && s->SpillingComputeBytes->Details.Sum) {
auto x1 = Config.HeaderWidth + GAP_X + Config.SummaryWidth + - INTERNAL_GAP_X;
auto x1 = Config.SummaryLeft + Config.SummaryWidth - INTERNAL_GAP_X;
auto x0 = x1 - textSum.size() * INTERNAL_TEXT_HEIGHT * 7 / 10;
background
<< "<g><title>";
Expand Down

0 comments on commit f8f3ee6

Please sign in to comment.