danny0405 commented on code in PR #13380:
URL: https://github.com/apache/hudi/pull/13380#discussion_r2128556895


##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/TestPartitionTTLManagement.java:
##########
@@ -95,10 +102,8 @@ public void testKeepByCreationTime() {
       String partitionPath2 = dataGen.getPartitionPaths()[2];
       writeRecordsForPartition(client, dataGen, partitionPath2, 
currentInstant);
 
-      String instantTime = client.createNewInstantTime();
+      String instantTime = 
client.startCommit(HoodieTimeline.REPLACE_COMMIT_ACTION);

Review Comment:
   This is not right, the requested instant was created with empty 
`HoodieRequestedReplaceMetadata`.



##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/TestPartitionTTLManagement.java:
##########
@@ -130,7 +135,7 @@ public void testKeepByTime() {
       String partitionPath2 = dataGen.getPartitionPaths()[2];
       writeRecordsForPartition(client, dataGen, partitionPath2, 
currentInstant);
 
-      String instantTime = client.createNewInstantTime();
+      String instantTime = 
client.startCommit(HoodieTimeline.REPLACE_COMMIT_ACTION);

Review Comment:
   This is not right, the requested instant was created with empty 
`HoodieRequestedReplaceMetadata`.



-- 
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]

Reply via email to