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>
(cherry picked from commit d9cf67a)
  • Loading branch information
decster authored and mergify[bot] committed Aug 5, 2024
1 parent 83d86a2 commit 8b25953
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,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 8b25953

Please sign in to comment.