Skip to content

Commit

Permalink
parser: add ActionReorganizePartition (#39183)
Browse files Browse the repository at this point in the history
ref #38535
  • Loading branch information
mjonss committed Nov 16, 2022
1 parent 7f83ec4 commit 11ab7b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parser/model/ddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const (
ActionMultiSchemaChange ActionType = 61
ActionFlashbackCluster ActionType = 62
ActionRecoverSchema ActionType = 63
ActionReorganizePartition ActionType = 64
)

var actionMap = map[ActionType]string{
Expand Down Expand Up @@ -160,6 +161,7 @@ var actionMap = map[ActionType]string{
ActionMultiSchemaChange: "alter table multi-schema change",
ActionFlashbackCluster: "flashback cluster",
ActionRecoverSchema: "flashback schema",
ActionReorganizePartition: "alter table reorganize partition",

// `ActionAlterTableAlterPartition` is removed and will never be used.
// Just left a tombstone here for compatibility.
Expand Down

0 comments on commit 11ab7b4

Please sign in to comment.