morrySnow commented on code in PR #11209:
URL: https://github.com/apache/doris/pull/11209#discussion_r937290333
##########
fe/fe-core/src/main/java/org/apache/doris/statistics/StatsDeriveResult.java:
##########
@@ -112,10 +112,22 @@ public void setSlotToColumnStats(Map<Slot, ColumnStats>
slotToColumnStats) {
this.slotToColumnStats = slotToColumnStats;
}
- public StatsDeriveResult multiplyDouble(double selectivity) {
+ public StatsDeriveResult updateRowCountBySelectivity(double selectivity) {
rowCount *= selectivity;
for (Entry<Slot, ColumnStats> entry : slotToColumnStats.entrySet()) {
- entry.getValue().multiplyDouble(selectivity);
+ entry.getValue().updateBySelectivity(selectivity);
Review Comment:
@Kikyou1997 @zhengshiJ PTAL
--
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]