yihua commented on code in PR #13007:
URL: https://github.com/apache/hudi/pull/13007#discussion_r2019411075
##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/table/functional/TestHoodieSparkMergeOnReadTableRollback.java:
##########
@@ -1029,4 +1179,37 @@ private HoodieWriteConfig getWriteConfig(boolean
autoCommit, boolean rollbackUsi
.build());
return cfgBuilder.build();
}
+
+ /**
+ * Scenario: data table is updated, no changes to MDT
+ */
+ @Test
+ public void testRollbackWithFailurePreMDT() throws Exception {
Review Comment:
Got it. It would be good to generate the table once and manipulate it for
different scenarios to save time in generating the test tables. We can improve
these separately; HUDI-9242 to track.
--
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]