yihua commented on code in PR #11580: URL: https://github.com/apache/hudi/pull/11580#discussion_r1696055430
########## hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java: ########## @@ -98,6 +98,7 @@ public Option<HoodieClusteringPlan> execute() { .setExtraMetadata(extraMetadata.orElse(Collections.emptyMap())) .setClusteringPlan(planOption.get()) .build(); + table.validateForLatestTimestamp(clusteringInstant.getTimestamp()); Review Comment: I'm wondering if we can get rid of such per-action handling which is hard to maintain. Instead, could we design a general approach to maintain instant time ordering? -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org