[ https://issues.apache.org/jira/browse/HUDI-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013321#comment-17013321 ]
leesf commented on HUDI-469: ---------------------------- Fixed via master: b95367d82a4e0c31a526cf8b292388355847e274 > HoodieCommitMetadata only show first commit insert rows. > --------------------------------------------------------- > > Key: HUDI-469 > URL: https://issues.apache.org/jira/browse/HUDI-469 > Project: Apache Hudi (incubating) > Issue Type: Bug > Components: CLI > Reporter: cdmikechen > Assignee: cdmikechen > Priority: Major > Labels: pull-request-available > Fix For: 0.5.1 > > Time Spent: 10m > Remaining Estimate: 0h > > When I run hudi cli to get insert rows, I found that hudi cli can not get > insert rows if it is not in first commit time. I found that > *{{HoodieCommitMetadata.fetchTotalInsertRecordsWritten()*}} method use > *{{stat.getPrevCommit().equalsIgnoreCase("null")*}} to filter first commit. > This check option should be removed。 -- This message was sent by Atlassian Jira (v8.3.4#803005)