Skip to content

Commit

Permalink
Fix exception handling for Hive OPTIMIZE table procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
brandboat authored and losipiuk committed Dec 2, 2021
1 parent 1727ae4 commit 93b309e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2138,6 +2138,7 @@ private void finishOptimize(ConnectorSession session, ConnectorTableExecuteHandl
firstScannedPath = Optional.of(scannedPath);
}
retry().run("delete " + scannedPath, () -> fs.delete(scannedPath, false));
someDeleted = true;
remainingFilesToDelete.remove(scannedPath);
}
}
Expand Down

0 comments on commit 93b309e

Please sign in to comment.