Skip to content

Commit 6144ddd

Browse files
authored
executor: avoid displaying progress when to merge global stats (#48601)
close #48602
1 parent 446232f commit 6144ddd

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
@@ -2051,7 +2051,7 @@ func dataForAnalyzeStatusHelper(ctx context.Context, sctx sessionctx.Context) (r
20512051
}
20522052

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

0 commit comments

Comments
 (0)