danny0405 commented on code in PR #9030:
URL: https://github.com/apache/hudi/pull/9030#discussion_r1237960549


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/util/ClusteringUtil.java:
##########
@@ -46,7 +50,19 @@ public class ClusteringUtil {
 
   public static void validateClusteringScheduling(Configuration conf) {
     if (OptionsResolver.isBucketIndexType(conf)) {
-      throw new UnsupportedOperationException("Clustering is not supported for 
bucket index.");
+      HoodieIndex.BucketIndexEngineType bucketIndexEngineType = 
OptionsResolver.getBucketEngineType(conf);
+      switch (bucketIndexEngineType) {
+        case SIMPLE:
+          throw new UnsupportedOperationException("Clustering is not supported 
for bucket index.");

Review Comment:
   did you mean for simple bucket index?



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