kangkaisen commented on issue #3464: URL: https://github.com/apache/incubator-doris/issues/3464#issuecomment-624117430
>When the leftChildFragment 's has no data and returned num nodes 0, the returned num nodes should be changed to 1. Because for a scan node has no data,there will be as least a random selected node for it. The broadcast cost calculation is right. You should fix the `getNumInstances` method in `OlapScanNode`. the getNumInstances result at least to 1. ---------------------------------------------------------------- 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. 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