1330571 commented on code in PR #18108:
URL: https://github.com/apache/doris/pull/18108#discussion_r1155257199


##########
fe/fe-core/src/main/java/org/apache/doris/load/loadv2/BrokerLoadJob.java:
##########
@@ -364,9 +364,16 @@ private void 
updateLoadingStatus(BrokerLoadingTaskAttachment attachment) {
 
     @Override
     public void updateProgress(Long beId, TUniqueId loadId, TUniqueId 
fragmentId, long scannedRows,
-                               long scannedBytes, boolean isDone) {
-        super.updateProgress(beId, loadId, fragmentId, scannedRows, 
scannedBytes, isDone);
-        progress = (int) ((double) loadStatistic.getLoadBytes() / 
loadStatistic.totalFileSizeB * 100);
+                               long scannedBytes, long readBytes, boolean 
isSupportReadBytes, boolean isDone) {
+        super.updateProgress(beId, loadId, fragmentId, scannedRows, 
scannedBytes,
+                readBytes, isSupportReadBytes, isDone);
+

Review Comment:
   > we'd better show ReadBytes alongside LoadBytes in `show load` results.
   
   add those fields in `getShowInfo` of  `loadJob.java` V2, is this right?



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to