cxxiii commented on code in PR #3621:
URL: https://github.com/apache/amoro/pull/3621#discussion_r2151348534


##########
amoro-format-iceberg/src/main/java/org/apache/amoro/optimizing/plan/CommonPartitionEvaluator.java:
##########
@@ -434,7 +434,7 @@ private double getTablePenaltyFactor(long dataFiles, long 
dataFilesSize) {
     // The small table has very little impact on performance,
     // so there is only a small penalty
     return getNormalizedRatio(dataFiles, config.getMinorLeastFileCount())
-        * getNormalizedRatio(dataFilesSize, config.getTargetSize());
+        * getNormalizedRatio(dataFilesSize, minTargetSize);

Review Comment:
   I change here according to the computational formula of TablePenaltyFactor 
in https://github.com/apache/amoro/issues/3180 . I think there must have been a 
typing error before.



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