klion26 commented on code in PR #3546:
URL: https://github.com/apache/amoro/pull/3546#discussion_r2099419885
##########
amoro-format-iceberg/src/main/java/org/apache/amoro/optimizing/plan/AbstractOptimizingPlanner.java:
##########
@@ -158,19 +158,23 @@ public List<RewriteStageTask> planTasks() {
double maxInputSize = maxInputSizePerThread * availableCore;
actualPartitionPlans = Lists.newArrayList();
long actualInputSize = 0;
+ double avgThreadCost = actualInputSize / availableCore;
Review Comment:
Thanks for the explain.
##########
amoro-format-iceberg/src/main/java/org/apache/amoro/optimizing/plan/AbstractOptimizingPlanner.java:
##########
@@ -158,19 +158,23 @@ public List<RewriteStageTask> planTasks() {
double maxInputSize = maxInputSizePerThread * availableCore;
actualPartitionPlans = Lists.newArrayList();
long actualInputSize = 0;
+ double avgThreadCost = actualInputSize / availableCore;
Review Comment:
Thanks for the explanation.
--
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]