Indhumathi27 commented on code in PR #4915:
URL: https://github.com/apache/hive/pull/4915#discussion_r1414182501
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:
##########
@@ -5542,6 +5542,12 @@ private void replaceFiles(Path tablePath, Path srcf,
Path destf, Path oldPath, H
throw new HiveException("Getting globStatus " + srcf.toString(), e);
}
+ // in insert overwrite table query for partitions not in metastore but
exist in filesystem,
+ // oldPath is null and destination directory needs to cleaned up
Review Comment:
Can mention in what scenario partitions wont be present in metastore (like
when external table purge is disabled ?)
--
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]