deniskuzZ commented on a change in pull request #2547:
URL: https://github.com/apache/hive/pull/2547#discussion_r679770303



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java
##########
@@ -1442,7 +1443,9 @@ public void commitTxn(CommitTxnRequest rqst)
         }
 
         String conflictSQLSuffix = "FROM \"TXN_COMPONENTS\" WHERE 
\"TC_TXNID\"=" + txnid + " AND \"TC_OPERATION_TYPE\" IN (" +
-                OperationType.UPDATE + "," + OperationType.DELETE + ")";
+                OperationType.UPDATE + "," + OperationType.DELETE  + "," + 
OperationType.INSERT + ")";

Review comment:
       Why is this needed? Looks like you are handling Inserts in a separate if 
block.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to