seawinde opened a new pull request, #39541: URL: https://github.com/apache/doris/pull/39541
## Proposed changes Before query rewrite by materialized view, we collecet the table which query used by method `org.apache.doris.mtmv.MTMVCache#from`. In `MTMVCache#from` we calcute the cost of plan which is useless for collecting table. So add `boolean needCost` param in method `MTMVCache#from` to identify that if need cost of plan or not for performance. -- 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