yx-keith commented on PR #35238:
URL: https://github.com/apache/doris/pull/35238#issuecomment-2141413556

   > hi keith, do you notice that in JoinEstimation, if child.rowCount is 0, 
estimator regard the input row count as 1. please refer to:
   > 
   > 
https://github.com/apache/doris/blob/f53cf052d84335c09b2680259b1366343fc90c9a/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/JoinEstimation.java#L198
   
   >hi minghong, in JoinEstimation,  outputRowCount of joinNode is calculated 
as 1, this will cause the result of Join to be considered as only one row of 
data in the plan, and be distributed using broadcast
   core/src/main/java/org/apache/doris/nereids/stats/JoinEstimation.java#L144
   


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