Skip to content

Commit

Permalink
[BugFix] Fixed a bug where Compact and Schema Change could not be exe…
Browse files Browse the repository at this point in the history
…cuted together (backport #48585) (#48599)

Co-authored-by: Harbor Liu <[email protected]>
  • Loading branch information
mergify[bot] and HangyuanLiu authored Jul 19, 2024
1 parent a001870 commit 73ef8a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fe/fe-core/src/main/java/com/starrocks/alter/AlterOpType.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ public enum AlterOpType {
COMPATIBITLITY_MATRIX[DROP_ROLLUP.ordinal()][DROP_ROLLUP.ordinal()] = true;
// schema change, such as add/modify/drop columns can be processed in batch
COMPATIBITLITY_MATRIX[SCHEMA_CHANGE.ordinal()][SCHEMA_CHANGE.ordinal()] = true;
COMPATIBITLITY_MATRIX[SCHEMA_CHANGE.ordinal()][COMPACT.ordinal()] = true;
COMPATIBITLITY_MATRIX[ADD_ROLLUP.ordinal()][COMPACT.ordinal()] = true;
}

public boolean needCheckCapacity() {
Expand Down

0 comments on commit 73ef8a2

Please sign in to comment.