Skip to content

Commit 96f4883

Browse files
authored
executor: avoid displaying progress when to merge global stats (#48601) (#48625)
close #48602
1 parent f38e741 commit 96f4883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/executor/infoschema_reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2052,7 +2052,7 @@ func dataForAnalyzeStatusHelper(ctx context.Context, sctx sessionctx.Context) (r
20522052
}
20532053

20542054
var remainDurationStr, progressDouble, estimatedRowCntStr interface{}
2055-
if state == statistics.AnalyzeRunning {
2055+
if state == statistics.AnalyzeRunning && !strings.HasPrefix(jobInfo, "merge global stats") {
20562056
startTime, ok := startTime.(types.Time)
20572057
if !ok {
20582058
return nil, errors.New("invalid start time")

0 commit comments

Comments
 (0)