KnightChess commented on code in PR #11445:
URL: https://github.com/apache/hudi/pull/11445#discussion_r1639258725


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java:
##########
@@ -713,11 +714,24 @@ private void 
deleteInvalidFilesByPartitions(HoodieEngineContext context, Map<Str
           final HoodieStorage storage = metaClient.getStorage();
           LOG.info("Deleting invalid data file=" + partitionFilePair);
           // Delete
-          try {
-            storage.deleteFile(new StoragePath(partitionFilePair.getValue()));

Review Comment:
   got it, thanks, It seems that there might be similar issues in several 
places. whether need to handle such scenarios uniformly in the delete API 
within the `HoodieRetryWrapperFileSystem` to make code clean.



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

Reply via email to