n3nash commented on a change in pull request #1216: [HUDI-525] lack of insert 
info in delta_commit inflight
URL: https://github.com/apache/incubator-hudi/pull/1216#discussion_r369936144
 
 

 ##########
 File path: hudi-client/src/main/java/org/apache/hudi/HoodieWriteClient.java
 ##########
 @@ -428,6 +428,12 @@ private void 
saveWorkloadProfileMetadataToInflight(WorkloadProfile profile, Hood
       HoodieCommitMetadata metadata = new HoodieCommitMetadata();
       profile.getPartitionPaths().forEach(path -> {
         WorkloadStat partitionStat = profile.getWorkloadStat(path.toString());
+        HoodieWriteStat insertStat = new HoodieWriteStat();
+        insertStat.setNumInserts(partitionStat.getNumInserts());
+        insertStat.setFileId("");
 
 Review comment:
   okay, for setPrevCommit please use HoodieWriteStat.NULL_COMMIT

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


With regards,
Apache Git Services

Reply via email to