YuweiXiao commented on code in PR #4958:
URL: https://github.com/apache/hudi/pull/4958#discussion_r917719267


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/strategy/ClusteringPlanStrategy.java:
##########
@@ -104,6 +104,13 @@ public ClusteringPlanStrategy(HoodieTable table, 
HoodieEngineContext engineConte
    */
   public abstract Option<HoodieClusteringPlan> generateClusteringPlan();
 
+  /**
+   * Check if the clustering can proceed. If not, empty plan will be returned 
to stop the scheduling.
+   */
+  public boolean checkPrecondition() {

Review Comment:
   Thanks, will update, 



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