cshuo commented on code in PR #18685:
URL: https://github.com/apache/hudi/pull/18685#discussion_r3274089200


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bootstrap/RLIBootstrapOperator.java:
##########
@@ -97,15 +109,16 @@ private void preLoadRLIRecords() {
       }
       log.info("Subtask: {} will load record index records from file groups: 
{}, total file groups: {}.",
           taskID, 
filteredFileSlices.stream().map(FileSlice::getFileId).collect(Collectors.joining(",")),
 fileSlices.size());
+      numFileSlicesProcessed = filteredFileSlices.size();

Review Comment:
   Can we also add a metric to track bytes scanned, 
`rliBootstrap.numBytesScanned`, which can be fetched by 
   ```
   fileSlices.stream().mapToLong(FileSlice::getTotalFileSize).sum()
   ```



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