Skip to content

Commit

Permalink
[BugFix] Fix insert with partial update mode not working in cloud nat…
Browse files Browse the repository at this point in the history
…ive (#49336)

Signed-off-by: Binglin Chang <decstery@gmail.com>
  • Loading branch information
decster authored Aug 5, 2024
1 parent 7c7a5dd commit d9cf67a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public static void analyzeWithDeferredLock(InsertStmt insertStmt, ConnectContext
requiredKeyColumns.remove(colName.toLowerCase());
targetColumns.add(column);
}
if (table.isOlapTable()) {
if (table.isNativeTable()) {
OlapTable olapTable = (OlapTable) table;
if (olapTable.getKeysType().equals(KeysType.PRIMARY_KEYS)) {
if (!requiredKeyColumns.isEmpty()) {
Expand Down

0 comments on commit d9cf67a

Please sign in to comment.