don't show merged stats until needed (#14311)

This commit is contained in:
Vadim Ogievetsky 2023-05-18 20:32:58 -07:00 committed by GitHub
parent e9fed1445f
commit 7f66fd049b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -604,7 +604,8 @@ ${title} uncompressed size: ${formatBytesCompact(
{dataProcessedShuffle(stage)} {dataProcessedShuffle(stage)}
</> </>
)} )}
{stages.hasCounterForStage(stage, 'segmentGenerationProgress') && ( {stages.hasCounterForStage(stage, 'segmentGenerationProgress') &&
stages.getTotalSegmentGenerationProgressForStage(stage, 'rowsMerged') > 0 && (
<> <>
<div className="counter-spacer extend-left" /> <div className="counter-spacer extend-left" />
{dataProcessedSegmentGeneration(stage, 'rowsMerged')} {dataProcessedSegmentGeneration(stage, 'rowsMerged')}