yihua commented on code in PR #12970:
URL: https://github.com/apache/hudi/pull/12970#discussion_r1999757970
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestSparkDataSource.scala:
##########
@@ -294,6 +299,127 @@ class TestSparkDataSource extends
SparkClientFunctionalTestHarness {
inputDf2.unpersist(true)
}
+ @ParameterizedTest
+ @CsvSource(value = Array("COPY_ON_WRITE,8,EVENT_TIME_ORDERING,RECORD_INDEX",
+ "COPY_ON_WRITE,8,COMMIT_TIME_ORDERING,RECORD_INDEX",
+ "COPY_ON_WRITE,8,EVENT_TIME_ORDERING,GLOBAL_SIMPLE",
+ "COPY_ON_WRITE,8,COMMIT_TIME_ORDERING,GLOBAL_SIMPLE",
+ "MERGE_ON_READ,8,EVENT_TIME_ORDERING,RECORD_INDEX",
+ "MERGE_ON_READ,8,COMMIT_TIME_ORDERING,RECORD_INDEX",
+ "MERGE_ON_READ,8,EVENT_TIME_ORDERING,GLOBAL_SIMPLE",
+ "MERGE_ON_READ,8,COMMIT_TIME_ORDERING,GLOBAL_SIMPLE"))
+ def testDeletesWithHoodieIsDeleted(tableType: HoodieTableType, tableVersion:
Int, mergeMode: RecordMergeMode, indexType: IndexType): Unit = {
Review Comment:
This new test takes 40 seconds to complete.
--
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]