Skip to content

Commit

Permalink
branch-2.1: [fix](unique key) getEnableUniqueKeyMergeOnWrite should c…
Browse files Browse the repository at this point in the history
…heck keys type apache#44692 (apache#44896)

Cherry-picked from apache#44692

Co-authored-by: zhannngchen <[email protected]>
  • Loading branch information
github-actions[bot] and zhannngchen authored Dec 3, 2024
1 parent d10cb19 commit e10f1e9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2690,6 +2690,9 @@ public boolean getEnableUniqueKeyMergeOnWrite() {
if (tableProperty == null) {
return false;
}
if (getKeysType() != KeysType.UNIQUE_KEYS) {
return false;
}
return tableProperty.getEnableUniqueKeyMergeOnWrite();
}

Expand Down

0 comments on commit e10f1e9

Please sign in to comment.