You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "danny0405 (via GitHub)" <gi...@apache.org> on 2026/08/06 03:46:39 UTC

[PR] test(flink): add sink v2 operator coverage [hudi]

danny0405 opened a new pull request, #19543:
URL: https://github.com/apache/hudi/pull/19543

   ### Describe the issue this Pull Request addresses
   
   The experimental Flink Sink V2 path had no unit coverage for its clustering commit, compaction commit, cleaning, and pipeline composition classes. This left checkpoint-driven cleaning, commit buffering and rollback behavior, and topology routing unverified even though the V2 API is available for experimentation.
   
   This PR adds operator-level tests and raises every targeted V2 class above 70% line coverage. It does not change storage formats, public APIs, configuration defaults, or runtime behavior.
   
   ### Summary and Changelog
   
   - Add `ProcessOperator` and `OneInputStreamOperatorTestHarness` coverage for `CleanFunctionV2`, including asynchronous cleaning, checkpoint completion, disabled cleaning, and fail-safe snapshot behavior.
   - Add commit harness tests for `ClusteringCommitSinkV2`, covering missing plans, partial buffering, failed-event rollback, write errors, successful commits, and inline cleaning.
   - Add equivalent commit harness tests for `CompactionCommitSinkV2`.
   - Add topology and routing coverage for `PipelinesV2`, including bulk insert, append, clustering, cleaning, compaction, and plain write modes.
   - Raise line coverage from 0% to 91.5% for `ClusteringCommitSinkV2`, 91.5% for `CompactionCommitSinkV2`, 89.4% for `PipelinesV2`, and 100% for `CleanFunctionV2`.
   - Reuse the existing V1 sink test scenario structure within Hudi and adapt it to the V2 `ProcessOperator` harness; no external code was copied.
   
   ### Impact
   
   Test-only change in `hudi-flink`. There is no public API, configuration, compatibility, performance, storage-format, or user-facing behavior impact.
   
   ### Risk Level
   
   low
   
   The change only adds unit tests. It was verified with the focused 15-test V2 suite and the full `hudi-flink` unit suite (1,555 tests passed, 1 skipped), and all four targeted classes exceed the requested 70% line-coverage threshold.
   
   ### Documentation Update
   
   none. This PR does not introduce or change user-facing functionality or configuration.
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Enough context is provided in the sections above
   - [x] Adequate tests were added if applicable


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 merged PR #19543:
URL: https://github.com/apache/hudi/pull/19543


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19543:
URL: https://github.com/apache/hudi/pull/19543#issuecomment-5201458051

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123",
       "triggerID" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 410a859b83e3ecf75f8a1f0e8308734436600ff1 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19543:
URL: https://github.com/apache/hudi/pull/19543#issuecomment-5200176478

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 410a859b83e3ecf75f8a1f0e8308734436600ff1 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19543:
URL: https://github.com/apache/hudi/pull/19543#issuecomment-5212109944

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123",
       "triggerID" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1f56ccae1bb9052d7e97ce4711d360f4527349a0",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "1f56ccae1bb9052d7e97ce4711d360f4527349a0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 410a859b83e3ecf75f8a1f0e8308734436600ff1 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123) 
   * 1f56ccae1bb9052d7e97ce4711d360f4527349a0 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19543:
URL: https://github.com/apache/hudi/pull/19543#issuecomment-5212156852

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123",
       "triggerID" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1f56ccae1bb9052d7e97ce4711d360f4527349a0",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16155",
       "triggerID" : "1f56ccae1bb9052d7e97ce4711d360f4527349a0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 410a859b83e3ecf75f8a1f0e8308734436600ff1 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123) 
   * 1f56ccae1bb9052d7e97ce4711d360f4527349a0 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16155) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "cshuo (via GitHub)" <gi...@apache.org>.
cshuo commented on code in PR #19543:
URL: https://github.com/apache/hudi/pull/19543#discussion_r3733960849


##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/v2/utils/TestPipelinesV2.java:
##########
@@ -0,0 +1,200 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.sink.v2.utils;
+
+import org.apache.hudi.client.model.HoodieFlinkInternalRow;
+import org.apache.hudi.configuration.FlinkOptions;
+import org.apache.hudi.configuration.OptionsResolver;
+import org.apache.hudi.exception.HoodieException;
+import org.apache.hudi.sink.utils.Pipelines;
+import org.apache.hudi.utils.TestConfigurations;
+
+import org.apache.flink.api.common.typeinfo.TypeInformation;
+import org.apache.flink.api.dag.Transformation;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.datastream.DataStream;
+import org.apache.flink.streaming.api.datastream.DataStreamSink;
+import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
+import org.apache.flink.table.data.RowData;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.mockito.MockedStatic;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.stream.Collectors;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertSame;
+import static org.junit.jupiter.api.Assertions.assertThrows;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.mockStatic;
+
+/** Tests topology construction and routing in {@link PipelinesV2}. */
+class TestPipelinesV2 {
+
+  private Configuration conf;
+  private DataStream<RowData> input;
+
+  @BeforeEach
+  void setUp() {
+    conf = new Configuration();
+    StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
+    input = env.fromCollection(
+        Collections.<RowData>emptyList(),
+        TypeInformation.of(RowData.class));
+  }
+
+  @Test
+  void testSinkUsesModeSpecificParallelismAndStableIdentity() {
+    conf.set(FlinkOptions.OPERATION, "bulk_insert");
+    conf.set(FlinkOptions.WRITE_TASKS, 4);
+
+    DataStreamSink<RowData> sink = PipelinesV2.sink(
+        input, conf, TestConfigurations.ROW_TYPE, false, true);
+
+    assertEquals(4, sink.getTransformation().getParallelism());
+    assertEquals("sink_v2", sink.getTransformation().getName());

Review Comment:
   LGTM, thanks.



##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/v2/utils/TestPipelinesV2.java:
##########
@@ -0,0 +1,200 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.sink.v2.utils;
+
+import org.apache.hudi.client.model.HoodieFlinkInternalRow;
+import org.apache.hudi.configuration.FlinkOptions;
+import org.apache.hudi.configuration.OptionsResolver;
+import org.apache.hudi.exception.HoodieException;
+import org.apache.hudi.sink.utils.Pipelines;
+import org.apache.hudi.utils.TestConfigurations;
+
+import org.apache.flink.api.common.typeinfo.TypeInformation;
+import org.apache.flink.api.dag.Transformation;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.datastream.DataStream;
+import org.apache.flink.streaming.api.datastream.DataStreamSink;
+import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
+import org.apache.flink.table.data.RowData;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.mockito.MockedStatic;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.stream.Collectors;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertSame;
+import static org.junit.jupiter.api.Assertions.assertThrows;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.mockStatic;
+
+/** Tests topology construction and routing in {@link PipelinesV2}. */
+class TestPipelinesV2 {
+
+  private Configuration conf;
+  private DataStream<RowData> input;
+
+  @BeforeEach
+  void setUp() {
+    conf = new Configuration();
+    StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
+    input = env.fromCollection(
+        Collections.<RowData>emptyList(),
+        TypeInformation.of(RowData.class));
+  }
+
+  @Test
+  void testSinkUsesModeSpecificParallelismAndStableIdentity() {
+    conf.set(FlinkOptions.OPERATION, "bulk_insert");
+    conf.set(FlinkOptions.WRITE_TASKS, 4);
+
+    DataStreamSink<RowData> sink = PipelinesV2.sink(
+        input, conf, TestConfigurations.ROW_TYPE, false, true);
+
+    assertEquals(4, sink.getTransformation().getParallelism());
+    assertEquals("sink_v2", sink.getTransformation().getName());
+  }
+
+  @Test
+  void testServiceTopologiesUseExpectedSingletonCommitOperators() {
+    conf.set(FlinkOptions.CLUSTERING_TASKS, 3);
+    conf.set(FlinkOptions.COMPACTION_TASKS, 2);
+
+    DataStream<RowData> clean = PipelinesV2.cleanV2(conf, input);
+    DataStream<RowData> cluster = PipelinesV2.clusterV2(
+        conf, TestConfigurations.ROW_TYPE, input);
+    DataStream<RowData> compact = PipelinesV2.compactV2(conf, input);
+
+    assertOperator(clean, "clean_commits", 1, 1);
+    assertOperator(cluster, "clustering_commit", 1, 1);
+    assertOperator(compact, "compact_commit", 1, 1);
+    assertEquals(3, transformation(cluster, "clustering_task").getParallelism());

Review Comment:
   LGTM, thanks.



-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "hudi-agent (via GitHub)" <gi...@apache.org>.
hudi-agent commented on code in PR #19543:
URL: https://github.com/apache/hudi/pull/19543#discussion_r3725805807


##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/v2/TestCleanFunctionV2.java:
##########
@@ -0,0 +1,145 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.sink.v2;
+
+import org.apache.hudi.client.HoodieFlinkWriteClient;
+import org.apache.hudi.configuration.FlinkOptions;
+import org.apache.hudi.util.FlinkWriteClients;
+
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.operators.ProcessOperator;
+import org.apache.flink.streaming.runtime.streamrecord.StreamRecord;
+import org.apache.flink.streaming.util.OneInputStreamOperatorTestHarness;
+import org.apache.flink.table.data.RowData;
+import org.junit.jupiter.api.Test;
+import org.mockito.MockedStatic;
+
+import java.util.concurrent.TimeUnit;
+
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.eq;
+import static org.mockito.Mockito.doThrow;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.mockStatic;
+import static org.mockito.Mockito.never;
+import static org.mockito.Mockito.timeout;
+import static org.mockito.Mockito.verify;
+
+/** Tests checkpoint-driven cleaning in {@link CleanFunctionV2}. */
+class TestCleanFunctionV2 {
+
+  @Test
+  void testAsyncCleaningLifecycle() throws Exception {
+    Configuration conf = new Configuration();
+    conf.set(FlinkOptions.CLEAN_ASYNC_ENABLED, true);
+    HoodieFlinkWriteClient writeClient = mock(HoodieFlinkWriteClient.class);
+    CleanFunctionV2<String> function = new CleanFunctionV2<>(conf);
+
+    try (OneInputStreamOperatorTestHarness<String, RowData> harness =
+             openHarness(conf, function, writeClient)) {
+      // Opening waits for any cleaning left by a previous job attempt.
+      verify(writeClient, timeout(5000)).clean();
+      assertTrue(waitUntil(() -> !function.isCleaning));
+
+      harness.processElement(new StreamRecord<>("ignored"));
+      assertTrue(harness.getOutput().isEmpty());
+
+      harness.snapshot(1, 1);
+      verify(writeClient).startAsyncCleaning();
+      assertTrue(function.isCleaning);
+
+      harness.notifyOfCompletedCheckpoint(1);
+      verify(writeClient, timeout(5000)).waitForCleaningFinish();
+      assertTrue(waitUntil(() -> !function.isCleaning));
+    }
+
+    verify(writeClient).close();
+  }
+
+  @Test
+  void testSnapshotDoesNotPropagateCleaningFailure() throws Exception {
+    Configuration conf = new Configuration();
+    conf.set(FlinkOptions.CLEAN_ASYNC_ENABLED, true);
+    HoodieFlinkWriteClient writeClient = mock(HoodieFlinkWriteClient.class);
+    CleanFunctionV2<String> function = new CleanFunctionV2<>(conf);
+    doThrow(new RuntimeException("expected")).when(writeClient).startAsyncCleaning();
+
+    try (OneInputStreamOperatorTestHarness<String, RowData> harness =
+             openHarness(conf, function, writeClient)) {
+      verify(writeClient, timeout(5000)).clean();
+      assertTrue(waitUntil(() -> !function.isCleaning));
+
+      harness.snapshot(1, 1);
+
+      assertFalse(function.isCleaning);
+      verify(writeClient).startAsyncCleaning();
+    }
+  }
+
+  @Test
+  void testCleaningDisabled() throws Exception {
+    Configuration conf = new Configuration();
+    conf.set(FlinkOptions.CLEAN_ASYNC_ENABLED, false);
+    HoodieFlinkWriteClient writeClient = mock(HoodieFlinkWriteClient.class);
+    CleanFunctionV2<String> function = new CleanFunctionV2<>(conf);
+
+    try (OneInputStreamOperatorTestHarness<String, RowData> harness =
+             openHarness(conf, function, writeClient)) {
+      harness.snapshot(1, 1);
+      harness.notifyOfCompletedCheckpoint(1);
+      harness.processElement(new StreamRecord<>("ignored"));
+
+      verify(writeClient, never()).clean();
+      verify(writeClient, never()).startAsyncCleaning();
+      verify(writeClient, never()).waitForCleaningFinish();
+      assertTrue(harness.getOutput().isEmpty());
+    }
+  }
+
+  private OneInputStreamOperatorTestHarness<String, RowData> openHarness(
+      Configuration conf,
+      CleanFunctionV2<String> function,
+      HoodieFlinkWriteClient writeClient) throws Exception {
+    OneInputStreamOperatorTestHarness<String, RowData> harness =
+        new OneInputStreamOperatorTestHarness<>(new ProcessOperator<>(function), 1, 1, 0);
+    try (MockedStatic<FlinkWriteClients> writeClients = mockStatic(FlinkWriteClients.class)) {
+      writeClients.when(() -> FlinkWriteClients.createWriteClient(
+          eq(conf), any())).thenReturn(writeClient);
+      harness.open();
+    }
+    return harness;
+  }
+
+  private boolean waitUntil(Condition condition) throws Exception {
+    long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(5);
+    while (System.nanoTime() < deadline) {
+      if (condition.evaluate()) {
+        return true;
+      }
+      Thread.sleep(10);
+    }
+    return condition.evaluate();

Review Comment:
   πŸ€– nit: `Condition` is functionally identical to `java.util.concurrent.Callable<Boolean>` β€” same single method, same checked-exception signature. Could you replace it with `Callable<Boolean>` and call `condition.call()` in `waitUntil`? That removes a bespoke type readers have to look up.
   
   <sub><i>⚠️ AI-generated; verify before applying. React πŸ‘/πŸ‘Ž to flag quality.</i></sub>



-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19543:
URL: https://github.com/apache/hudi/pull/19543#issuecomment-5200205173

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123",
       "triggerID" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 410a859b83e3ecf75f8a1f0e8308734436600ff1 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #19543:
URL: https://github.com/apache/hudi/pull/19543#issuecomment-5200362144

   ## [Codecov](https://app.codecov.io/gh/apache/hudi/pull/19543?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 76.40%. Comparing base ([`4a9cef8`](https://app.codecov.io/gh/apache/hudi/commit/4a9cef87c2c5c9b12160b17aea2340cc4e899bb1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`410a859`](https://app.codecov.io/gh/apache/hudi/commit/410a859b83e3ecf75f8a1f0e8308734436600ff1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 4 commits behind head on master.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@             Coverage Diff              @@
   ##             master   #19543      +/-   ##
   ============================================
   - Coverage     76.40%   76.40%   -0.01%     
     Complexity    32398    32398              
   ============================================
     Files          2520     2520              
     Lines        138985   138985              
     Branches      16695    16695              
   ============================================
   - Hits         106189   106187       -2     
   - Misses        25166    25167       +1     
   - Partials       7630     7631       +1     
   ```
   
   | [Components](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Ξ” | |
   |---|---|---|
   | [hudi-common](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `82.35% <ΓΈ> (ΓΈ)` | |
   | [hudi-client](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `81.98% <ΓΈ> (-0.01%)` | :arrow_down: |
   | [hudi-flink](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.97% <ΓΈ> (ΓΈ)` | |
   | [hudi-spark-datasource](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `70.62% <ΓΈ> (ΓΈ)` | |
   | [hudi-utilities](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `73.67% <ΓΈ> (ΓΈ)` | |
   | [hudi-cli](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `15.32% <ΓΈ> (ΓΈ)` | |
   | [hudi-hadoop](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `63.50% <ΓΈ> (ΓΈ)` | |
   | [hudi-sync](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `71.00% <ΓΈ> (ΓΈ)` | |
   | [hudi-io](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `79.46% <ΓΈ> (ΓΈ)` | |
   | [hudi-timeline-service](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.44% <ΓΈ> (ΓΈ)` | |
   | [hudi-cloud](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `64.06% <ΓΈ> (ΓΈ)` | |
   | [hudi-kafka-connect](https://app.codecov.io/gh/apache/hudi/pull/19543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `53.20% <ΓΈ> (ΓΈ)` | |
   
   | [Flag](https://app.codecov.io/gh/apache/hudi/pull/19543/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Ξ” | |
   |---|---|---|
   | [hadoop-mr-java-client](https://app.codecov.io/gh/apache/hudi/pull/19543/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `43.76% <ΓΈ> (-0.01%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   [see 1 file with indirect coverage changes](https://app.codecov.io/gh/apache/hudi/pull/19543/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "cshuo (via GitHub)" <gi...@apache.org>.
cshuo commented on code in PR #19543:
URL: https://github.com/apache/hudi/pull/19543#discussion_r3733054781


##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/v2/utils/TestPipelinesV2.java:
##########
@@ -0,0 +1,200 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.sink.v2.utils;
+
+import org.apache.hudi.client.model.HoodieFlinkInternalRow;
+import org.apache.hudi.configuration.FlinkOptions;
+import org.apache.hudi.configuration.OptionsResolver;
+import org.apache.hudi.exception.HoodieException;
+import org.apache.hudi.sink.utils.Pipelines;
+import org.apache.hudi.utils.TestConfigurations;
+
+import org.apache.flink.api.common.typeinfo.TypeInformation;
+import org.apache.flink.api.dag.Transformation;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.datastream.DataStream;
+import org.apache.flink.streaming.api.datastream.DataStreamSink;
+import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
+import org.apache.flink.table.data.RowData;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.mockito.MockedStatic;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.stream.Collectors;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertSame;
+import static org.junit.jupiter.api.Assertions.assertThrows;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.mockStatic;
+
+/** Tests topology construction and routing in {@link PipelinesV2}. */
+class TestPipelinesV2 {
+
+  private Configuration conf;
+  private DataStream<RowData> input;
+
+  @BeforeEach
+  void setUp() {
+    conf = new Configuration();
+    StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
+    input = env.fromCollection(
+        Collections.<RowData>emptyList(),
+        TypeInformation.of(RowData.class));
+  }
+
+  @Test
+  void testSinkUsesModeSpecificParallelismAndStableIdentity() {
+    conf.set(FlinkOptions.OPERATION, "bulk_insert");
+    conf.set(FlinkOptions.WRITE_TASKS, 4);
+
+    DataStreamSink<RowData> sink = PipelinesV2.sink(
+        input, conf, TestConfigurations.ROW_TYPE, false, true);
+
+    assertEquals(4, sink.getTransformation().getParallelism());
+    assertEquals("sink_v2", sink.getTransformation().getName());

Review Comment:
   The test name promises stable operator identity, but this assertion only checks the display name. Flink uses the operator UID for savepoint/checkpoint state mapping, so removing or changing the uid assignment would still pass while potentially breaking recovery across upgrades. Please assert that getUid() is present and has the expected stable value or structure.



##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/v2/utils/TestPipelinesV2.java:
##########
@@ -0,0 +1,200 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.sink.v2.utils;
+
+import org.apache.hudi.client.model.HoodieFlinkInternalRow;
+import org.apache.hudi.configuration.FlinkOptions;
+import org.apache.hudi.configuration.OptionsResolver;
+import org.apache.hudi.exception.HoodieException;
+import org.apache.hudi.sink.utils.Pipelines;
+import org.apache.hudi.utils.TestConfigurations;
+
+import org.apache.flink.api.common.typeinfo.TypeInformation;
+import org.apache.flink.api.dag.Transformation;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.datastream.DataStream;
+import org.apache.flink.streaming.api.datastream.DataStreamSink;
+import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
+import org.apache.flink.table.data.RowData;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.mockito.MockedStatic;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.stream.Collectors;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertSame;
+import static org.junit.jupiter.api.Assertions.assertThrows;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.mockStatic;
+
+/** Tests topology construction and routing in {@link PipelinesV2}. */
+class TestPipelinesV2 {
+
+  private Configuration conf;
+  private DataStream<RowData> input;
+
+  @BeforeEach
+  void setUp() {
+    conf = new Configuration();
+    StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
+    input = env.fromCollection(
+        Collections.<RowData>emptyList(),
+        TypeInformation.of(RowData.class));
+  }
+
+  @Test
+  void testSinkUsesModeSpecificParallelismAndStableIdentity() {
+    conf.set(FlinkOptions.OPERATION, "bulk_insert");
+    conf.set(FlinkOptions.WRITE_TASKS, 4);
+
+    DataStreamSink<RowData> sink = PipelinesV2.sink(
+        input, conf, TestConfigurations.ROW_TYPE, false, true);
+
+    assertEquals(4, sink.getTransformation().getParallelism());
+    assertEquals("sink_v2", sink.getTransformation().getName());
+  }
+
+  @Test
+  void testServiceTopologiesUseExpectedSingletonCommitOperators() {
+    conf.set(FlinkOptions.CLUSTERING_TASKS, 3);
+    conf.set(FlinkOptions.COMPACTION_TASKS, 2);
+
+    DataStream<RowData> clean = PipelinesV2.cleanV2(conf, input);
+    DataStream<RowData> cluster = PipelinesV2.clusterV2(
+        conf, TestConfigurations.ROW_TYPE, input);
+    DataStream<RowData> compact = PipelinesV2.compactV2(conf, input);
+
+    assertOperator(clean, "clean_commits", 1, 1);
+    assertOperator(cluster, "clustering_commit", 1, 1);
+    assertOperator(compact, "compact_commit", 1, 1);
+    assertEquals(3, transformation(cluster, "clustering_task").getParallelism());

Review Comment:
   The environment retains its default parallelism, which is normally 1 in this test, so removing an explicit singleton parallelism setting can still leave these assertions green. Please set the environment default to a distinct non-singleton value and also assert that cluster_plan_generate and compact_plan_generate remain singleton with max parallelism 1. Since this test covers topology routing, it would also be valuable to verify that both plan-to-task edges retain Pipelines.IndexPartitioner; otherwise duplicate plan scheduling or routing regressions could pass unnoticed.



-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #19543:
URL: https://github.com/apache/hudi/pull/19543#discussion_r3733283271


##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/v2/utils/TestPipelinesV2.java:
##########
@@ -0,0 +1,200 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.sink.v2.utils;
+
+import org.apache.hudi.client.model.HoodieFlinkInternalRow;
+import org.apache.hudi.configuration.FlinkOptions;
+import org.apache.hudi.configuration.OptionsResolver;
+import org.apache.hudi.exception.HoodieException;
+import org.apache.hudi.sink.utils.Pipelines;
+import org.apache.hudi.utils.TestConfigurations;
+
+import org.apache.flink.api.common.typeinfo.TypeInformation;
+import org.apache.flink.api.dag.Transformation;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.datastream.DataStream;
+import org.apache.flink.streaming.api.datastream.DataStreamSink;
+import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
+import org.apache.flink.table.data.RowData;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.mockito.MockedStatic;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.stream.Collectors;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertSame;
+import static org.junit.jupiter.api.Assertions.assertThrows;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.mockStatic;
+
+/** Tests topology construction and routing in {@link PipelinesV2}. */
+class TestPipelinesV2 {
+
+  private Configuration conf;
+  private DataStream<RowData> input;
+
+  @BeforeEach
+  void setUp() {
+    conf = new Configuration();
+    StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
+    input = env.fromCollection(
+        Collections.<RowData>emptyList(),
+        TypeInformation.of(RowData.class));
+  }
+
+  @Test
+  void testSinkUsesModeSpecificParallelismAndStableIdentity() {
+    conf.set(FlinkOptions.OPERATION, "bulk_insert");
+    conf.set(FlinkOptions.WRITE_TASKS, 4);
+
+    DataStreamSink<RowData> sink = PipelinesV2.sink(
+        input, conf, TestConfigurations.ROW_TYPE, false, true);
+
+    assertEquals(4, sink.getTransformation().getParallelism());
+    assertEquals("sink_v2", sink.getTransformation().getName());
+  }
+
+  @Test
+  void testServiceTopologiesUseExpectedSingletonCommitOperators() {
+    conf.set(FlinkOptions.CLUSTERING_TASKS, 3);
+    conf.set(FlinkOptions.COMPACTION_TASKS, 2);
+
+    DataStream<RowData> clean = PipelinesV2.cleanV2(conf, input);
+    DataStream<RowData> cluster = PipelinesV2.clusterV2(
+        conf, TestConfigurations.ROW_TYPE, input);
+    DataStream<RowData> compact = PipelinesV2.compactV2(conf, input);
+
+    assertOperator(clean, "clean_commits", 1, 1);
+    assertOperator(cluster, "clustering_commit", 1, 1);
+    assertOperator(compact, "compact_commit", 1, 1);
+    assertEquals(3, transformation(cluster, "clustering_task").getParallelism());

Review Comment:
   Done in 1f56ccae1bb9. The test environment now defaults to parallelism 7; both cluster_plan_generate and compact_plan_generate are asserted at parallelism/max parallelism 1; and each plan-to-task route is asserted to contain exactly one Pipelines.IndexPartitioner. The focused Sink V2 suite passes (15/15).



-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(flink): add sink v2 operator coverage [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19543:
URL: https://github.com/apache/hudi/pull/19543#issuecomment-5212910548

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16123",
       "triggerID" : "410a859b83e3ecf75f8a1f0e8308734436600ff1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1f56ccae1bb9052d7e97ce4711d360f4527349a0",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16155",
       "triggerID" : "1f56ccae1bb9052d7e97ce4711d360f4527349a0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1f56ccae1bb9052d7e97ce4711d360f4527349a0 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16155) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org