Junning Liang created HUDI-7282: ----------------------------------- Summary: Hudi COW APPEND mode can be verified through cluster that even if the index is bucket Key: HUDI-7282 URL: https://issues.apache.org/jira/browse/HUDI-7282 Project: Apache Hudi Issue Type: Bug Reporter: Junning Liang Assignee: Junning Liang
when use append mode and cluster configuration in the cow table, if it's index.type is Bucket, it would throw UnsupportedOperationException like: {code:java} java.lang.UnsupportedOperationException: Clustering is not supported for bucket index. at org.apache.hudi.util.ClusteringUtil.validateClusteringScheduling(ClusteringUtil.java:49) ~[blob_p-9c5a14ae562d04e25991a03bf9668559004f6a49-984c72deff77d77c6bf8aeffe0ef8bd3:0.13.1-012] at org.apache.hudi.util.ClusteringUtil.scheduleClustering(ClusteringUtil.java:61) ~[blob_p-9c5a14ae562d04e25991a03bf9668559004f6a49-984c72deff77d77c6bf8aeffe0ef8bd3:0.13.1-012] at org.apache.hudi.sink.StreamWriteOperatorCoordinator.lambda$notifyCheckpointComplete$2(StreamWriteOperatorCoordinator.java:288) ~[blob_p-9c5a14ae562d04e25991a03bf9668559004f6a49-984c72deff77d77c6bf8aeffe0ef8bd3:0.13.1-012] at org.apache.hudi.sink.utils.NonThrownExecutor.lambda$wrapAction$0(NonThrownExecutor.java:130) ~[blob_p-9c5a14ae562d04e25991a03bf9668559004f6a49-984c72deff77d77c6bf8aeffe0ef8bd3:0.13.1-012] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_312] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312] {code} But as we also know,append mode is not related to the index type。 -- This message was sent by Atlassian Jira (v8.20.10#820010)