xzj7019 commented on code in PR #40654: URL: https://github.com/apache/doris/pull/40654#discussion_r1754158093
########## fe/fe-core/src/main/java/org/apache/doris/statistics/PartitionColumnStatisticBuilder.java: ########## @@ -50,9 +50,23 @@ public PartitionColumnStatisticBuilder(PartitionColumnStatistic statistic) { this.updatedTime = statistic.updatedTime; } - public PartitionColumnStatisticBuilder setCount(double count) { + // ATTENTION: DON'T USE FOLLOWING TWO DURING STATS DERIVING EXCEPT FOR INITIALIZATION + public PartitionColumnStatisticBuilder(double count) { this.count = count; - return this; + } + + public PartitionColumnStatisticBuilder(PartitionColumnStatistic partitionColumnStatistic, double count) { Review Comment: remain 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: 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