hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-hudi] n3nash commented on a change in pull request #1119: [HUDI-469] Fix: HoodieCommitMetadata only show first commit insert rows.
Date Sat, 11 Jan 2020 00:16:43 GMT
n3nash commented on a change in pull request #1119: [HUDI-469] Fix: HoodieCommitMetadata only
show first commit insert rows.
URL: https://github.com/apache/incubator-hudi/pull/1119#discussion_r365478532
 
 

 ##########
 File path: hudi-common/src/main/java/org/apache/hudi/common/model/HoodieCommitMetadata.java
 ##########
 @@ -175,7 +175,8 @@ public long fetchTotalInsertRecordsWritten() {
     long totalInsertRecordsWritten = 0;
     for (List<HoodieWriteStat> stats : partitionToWriteStats.values()) {
       for (HoodieWriteStat stat : stats) {
-        if (stat.getPrevCommit() != null && stat.getPrevCommit().equalsIgnoreCase("null"))
{
+        // It was only possible to determine the number of rows to insert for the first commit
before. Currently, this problem is fixed
 
 Review comment:
   Thank you!

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message