[bugfix](hive)Delete the temporarily created folder (#40424) (#40722)

## Proposed changes

bp: #40424
This commit is contained in:
wuwenchi
2024-09-12 19:18:35 +08:00
committed by GitHub
parent ed76b0c5f5
commit 3d2ac60bae
2 changed files with 22 additions and 2 deletions

View File

@ -1443,6 +1443,8 @@ public class HMSTransaction implements Transaction {
runS3cleanWhenSuccess();
doAddPartitionsTask();
doUpdateStatisticsTasks();
//delete write path
pruneAndDeleteStagingDirectories();
doNothing();
}