Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Sep 19, 2023
1 parent b97ea0e commit 3431d52
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions executor/analyze_global_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,11 @@ func (e *AnalyzeExec) handleGlobalStats(ctx context.Context, globalStatsMap glob
}

for _, value := range tableAllPartitionStats {
for _, v := range value.Columns {
v.FMSketch.DestroyAndPutToPool()
for _, col := range value.Columns {
col.FMSketch.DestroyAndPutToPool()
}
for _, idx := range value.Indices {
idx.FMSketch.DestroyAndPutToPool()
}
}
}
Expand Down

0 comments on commit 3431d52

Please sign in to comment.