yihua commented on code in PR #13800:
URL: https://github.com/apache/hudi/pull/13800#discussion_r2308367597
##########
hudi-common/src/test/java/org/apache/hudi/common/model/debezium/TestMySqlDebeziumAvroPayload.java:
##########
@@ -142,6 +144,23 @@ public void testInvalidIncomingRecord() {
"should have thrown because event seq value of the incoming record is
null");
}
+ @ParameterizedTest
+ @CsvSource({
+ // Different file numbers - current file is latest
+ "'00002.100', '00001.200', true",
+ // Different file numbers - new file is latest
+ "'00001.200', '00002.100', false",
+ // Same file number, position comparison
+ "'00001.100', '00001.50', true",
+ "'00000.23', '00000.123', false",
+ "'00000.1', '00000.10', false",
+ "'00000.10', '00000.1', true",
+ // Same file number and position - should pick current
+ "'00001.100', '00001.100', true"})
Review Comment:
```suggestion
"'00001.100', '00001.100', false"})
```
--
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]