Skip to content

Commit

Permalink
[parser] model: support columar table (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
youjiali1995 authored and ti-chi-bot committed Oct 9, 2021
1 parent 90606e4 commit 7a64b80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parser/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ type TableInfo struct {

// TiFlashReplica means the TiFlash replica info.
TiFlashReplica *TiFlashReplicaInfo `json:"tiflash_replica"`

// IsColumnar means the table is column-oriented.
// It's true when the engine of the table is TiFlash only.
IsColumnar bool `json:"is_columnar"`
}

// TableLockInfo provides meta data describing a table lock.
Expand Down

0 comments on commit 7a64b80

Please sign in to comment.