Skip to content

Commit

Permalink
[parser] model: support columar table (pingcap#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
youjiali1995 authored Sep 2, 2020
1 parent bcde176 commit 28da7af
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 28da7af

Please sign in to comment.