You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/04/12 08:54:04 UTC

[GitHub] [hive] zabetak commented on a diff in pull request #3198: HIVE-26127: Insert overwrite throws FileNotFound when destination par…

zabetak commented on code in PR #3198:
URL: https://github.com/apache/hive/pull/3198#discussion_r848169084


##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:
##########
@@ -5399,7 +5399,12 @@ public void cleanUpOneDirectoryForReplace(Path path, FileSystem fs,
     if (isNeedRecycle && conf.getBoolVar(HiveConf.ConfVars.REPLCMENABLED)) {
       recycleDirToCmPath(path, purge);

Review Comment:
   Do we want to call `recycleDirToCmPath` for a path that does not exist? More general, do we want to call `deleteOldPathForReplace` when the path does not exist?



-- 
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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org