Skip to content

Commit

Permalink
chore: add more
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Mar 14, 2024
1 parent 3d2939d commit 7d05e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/statistics/handle/autoanalyze/priorityqueue/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func isValidToAnalyze(
lastFailedAnalysisDuration, err :=
GetLastFailedAnalysisDuration(sctx, schema, table, partitionNames...)
if err != nil {
logutil.StatsLogger().Warn(
logutil.SingletonStatsSamplerLogger().Warn(
"Fail to get last failed analysis duration",
zap.String("schema", schema),
zap.String("table", table),
Expand All @@ -113,7 +113,7 @@ func isValidToAnalyze(
averageAnalysisDuration, err :=
GetAverageAnalysisDuration(sctx, schema, table, partitionNames...)
if err != nil {
logutil.StatsLogger().Warn(
logutil.SingletonStatsSamplerLogger().Warn(
"Fail to get average analysis duration",
zap.String("schema", schema),
zap.String("table", table),
Expand Down

0 comments on commit 7d05e02

Please sign in to comment.