codope commented on a change in pull request #4489:
URL: https://github.com/apache/hudi/pull/4489#discussion_r839211271



##########
File path: 
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/clean/CleanPlanner.java
##########
@@ -350,8 +355,12 @@ public CleanPlanner(HoodieEngineContext context, 
HoodieTable<T, I, K, O> hoodieT
           }
         }
       }
+      // if there are no valid file groups for the partition, mark it to be 
deleted
+      if (fileGroups.isEmpty()) {

Review comment:
       +1




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