klcopp commented on a change in pull request #2619:
URL: https://github.com/apache/hive/pull/2619#discussion_r703271355



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java
##########
@@ -334,7 +337,7 @@ private boolean removeFiles(String location, 
ValidWriteIdList writeIdList, Compa
     extraDebugInfo.setCharAt(extraDebugInfo.length() - 1, ']');
     LOG.info(idWatermark(ci) + " About to remove " + filesToDelete.size() +
          " obsolete directories from " + location + ". " + 
extraDebugInfo.toString());
-    if (filesToDelete.size() < 1) {
+    if (filesToDelete.size() < 1 && !isDynPartAbort(table, ci)) {

Review comment:
       Do we trust that the min write id is high enough that all aborted 
directories will be cleared?




-- 
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