You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by cw...@apache.org on 2023/05/19 03:33:04 UTC
[druid] branch master updated: don't show merged stats until needed (#14311)
This is an automated email from the ASF dual-hosted git repository.
cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 7f66fd049b don't show merged stats until needed (#14311)
7f66fd049b is described below
commit 7f66fd049b25d2524bfc16527a620037ff110b25
Author: Vadim Ogievetsky <va...@ogievetsky.com>
AuthorDate: Thu May 18 20:32:58 2023 -0700
don't show merged stats until needed (#14311)
---
.../execution-stages-pane/execution-stages-pane.tsx | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/web-console/src/views/workbench-view/execution-stages-pane/execution-stages-pane.tsx b/web-console/src/views/workbench-view/execution-stages-pane/execution-stages-pane.tsx
index 250ddaea8a..1335cd7163 100644
--- a/web-console/src/views/workbench-view/execution-stages-pane/execution-stages-pane.tsx
+++ b/web-console/src/views/workbench-view/execution-stages-pane/execution-stages-pane.tsx
@@ -604,13 +604,14 @@ ${title} uncompressed size: ${formatBytesCompact(
{dataProcessedShuffle(stage)}
</>
)}
- {stages.hasCounterForStage(stage, 'segmentGenerationProgress') && (
- <>
- <div className="counter-spacer extend-left" />
- {dataProcessedSegmentGeneration(stage, 'rowsMerged')}
- {dataProcessedSegmentGeneration(stage, 'rowsPushed')}
- </>
- )}
+ {stages.hasCounterForStage(stage, 'segmentGenerationProgress') &&
+ stages.getTotalSegmentGenerationProgressForStage(stage, 'rowsMerged') > 0 && (
+ <>
+ <div className="counter-spacer extend-left" />
+ {dataProcessedSegmentGeneration(stage, 'rowsMerged')}
+ {dataProcessedSegmentGeneration(stage, 'rowsPushed')}
+ </>
+ )}
</>
);
},
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org