Skip to content

Commit

Permalink
fix: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Jul 16, 2024
1 parent 4ca2520 commit 5f3e251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/statistics/handle/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ type JSONTable struct {
DatabaseName string `json:"database_name"`
TableName string `json:"table_name"`
ExtStats []*JSONExtendedStats `json:"ext_stats"`
PredicateColumns []*JSONPredicateColumn `json:"predicate_columns"`
Count int64 `json:"count"`
ModifyCount int64 `json:"modify_count"`
Version uint64 `json:"version"`
IsHistoricalStats bool `json:"is_historical_stats"`
PredicateColumns []*JSONPredicateColumn `json:"predicate_columns"`
}

// JSONExtendedStats is used for dumping extended statistics.
Expand Down Expand Up @@ -295,7 +295,7 @@ func (col *JSONColumn) TotalMemoryUsage() (size int64) {

// JSONPredicateColumn contains the information of the columns used in the predicate.
type JSONPredicateColumn struct {
ID int64 `json:"id"`
LastUsedAt string `json:"last_used_at"`
LastAnalyzedAt string `json:"last_analyzed_at"`
ID int64 `json:"id"`
}

0 comments on commit 5f3e251

Please sign in to comment.