YenchangChan commented on code in PR #28688:
URL: https://github.com/apache/doris/pull/28688#discussion_r1436041670
##########
fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java:
##########
@@ -789,6 +789,12 @@ private void updateNumOfData(long numOfTotalRows, long
numOfErrorRows, long unse
this.jobStatistic.unselectedRows += unselectedRows;
this.jobStatistic.receivedBytes += receivedBytes;
this.jobStatistic.totalTaskExcutionTimeMs += taskExecutionTime;
+ if (currentTaskConcurrentNum > 0) {
+ this.jobStatistic.taskExecuteTimeMs =
this.jobStatistic.totalTaskExcutionTimeMs / currentTaskConcurrentNum;
Review Comment:
Not absolutely accurate, but relatively close. The best way to calculate
this is to add up the maximum execution times of multiple concurrent instances
each time, but I haven't found a specific way to do this. I'm willing to close
my PR if someone has a better way to implement it.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]