zhoujinsong commented on code in PR #3621:
URL: https://github.com/apache/amoro/pull/3621#discussion_r2151500603
##########
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:
Makes sense to me.
--
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]