deniskuzZ commented on code in PR #6613:
URL: https://github.com/apache/hive/pull/6613#discussion_r3602740961
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:
##########
@@ -2899,7 +2899,8 @@ private Partition loadPartitionInternal(Path loadPath,
Table tbl, Map<String, St
boolean isManaged = tbl.getTableType() == TableType.MANAGED_TABLE;
// TODO: why is "&& !isAcidIUDoperation" needed here?
- if (!isTxnTable && ((loadFileType == LoadFileType.REPLACE_ALL) ||
(oldPart == null && !isAcidIUDoperation))) {
+ if (!isTxnTable && ((loadFileType == LoadFileType.REPLACE_ALL)
+ || (oldPart == null && !isAcidIUDoperation && loadFileType !=
LoadFileType.KEEP_EXISTING))) {
Review Comment:
what if it's an update operation?
--
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]