morrySnow commented on code in PR #45815:
URL: https://github.com/apache/doris/pull/45815#discussion_r1897080221


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/stats/StatsCalculator.java:
##########
@@ -495,8 +495,12 @@ private Statistics computeOlapScan(OlapScan olapScan) {
             // mv is selected, return its estimated stats
             Optional<Statistics> optStats = 
cascadesContext.getStatementContext()
                     .getStatistics(((Relation) olapScan).getRelationId());
+            LOG.info("computeOlapScan optStats isPresent {}, tableRowCount is 
{}",
+                    optStats.isPresent(), tableRowCount);
             if (optStats.isPresent()) {
                 double selectedPartitionsRowCount = 
getSelectedPartitionRowCount(olapScan, tableRowCount);
+                LOG.info("computeOlapScan optStats is {}, 
selectedPartitionsRowCount is {}", optStats.get(),
+                        selectedPartitionsRowCount);

Review Comment:
   remove these logs



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

Reply via email to