freemandealer opened a new issue, #17169: URL: https://github.com/apache/doris/issues/17169
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description Currently only BrokerLoad and InsertInto support load profile. We need print profile info after StreamLoad, too. What is profile? Why we need that? see [link](https://doris.apache.org/zh-CN/docs/dev/admin-manual/query-profile?_highlight=profile#profile%E5%8F%82%E6%95%B0%E8%A7%A3%E6%9E%90) ### Solution When `set global enable_profile=true`, Streamload is actually profiled. However, this profile result is shown nowhere. We should print it out in the following function if is enabled. ``` be/src/runtime/plan_fragment_executor.cpp void PlanFragmentExecutor::close() ``` Note that StreamLoad could be more frequent than other load jobs. Hence, to avoid too many profiles print in log, we need a control flag in be/src/common/config.h to allow the user turn on/off the print. ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
