n3nash commented on a change in pull request #2622:
URL: https://github.com/apache/hudi/pull/2622#discussion_r590734308
##########
File path:
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/io/TestHoodieTimelineArchiveLog.java
##########
@@ -495,11 +496,16 @@ private void createReplaceMetadata(String instantTime)
throws Exception {
String fileId2 = "file-" + instantTime + "-2";
// create replace instant to mark fileId1 as deleted
+ HoodieRequestedReplaceMetadata requestedReplaceMetadata =
HoodieRequestedReplaceMetadata.newBuilder()
+ .setOperationType(WriteOperationType.INSERT_OVERWRITE.toString())
+ .setVersion(1)
Review comment:
Should this be the CURRENT_VERSION from timeline layout ?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]