github-actions[bot] commented on code in PR #34421:
URL: https://github.com/apache/doris/pull/34421#discussion_r1593976013
##########
be/src/pipeline/pipeline_fragment_context.cpp:
##########
@@ -246,6 +246,97 @@ PipelinePtr
PipelineFragmentContext::add_pipeline(PipelinePtr parent, int idx) {
return pipeline;
}
+Status PipelineFragmentContext::prepare(const doris::TPipelineFragmentParams&
request,
Review Comment:
warning: function 'prepare' exceeds recommended size/complexity thresholds
[readability-function-size]
```cpp
^
```
<details>
<summary>Additional context</summary>
**be/src/pipeline/pipeline_fragment_context.cpp:248:** 88 lines including
whitespace and comments (threshold 80)
```cpp
^
```
</details>
##########
be/src/pipeline/pipeline_fragment_context.cpp:
##########
@@ -345,16 +436,16 @@
}
// 5. Build pipeline tasks and initialize local state.
- RETURN_IF_ERROR(_build_pipeline_tasks(request));
+ RETURN_IF_ERROR(_build_pipeline_tasks(request, request.query_options));
_init_next_report_time();
_prepared = true;
return Status::OK();
}
-Status PipelineFragmentContext::_build_pipeline_tasks(
- const doris::TPipelineFragmentParams& request) {
+Status PipelineFragmentContext::_build_pipeline_tasks(const
doris::TPipelineFragmentParams& request,
Review Comment:
warning: function '_build_pipeline_tasks' exceeds recommended
size/complexity thresholds [readability-function-size]
```cpp
^
```
<details>
<summary>Additional context</summary>
**be/src/pipeline/pipeline_fragment_context.cpp:446:** 177 lines including
whitespace and comments (threshold 80)
```cpp
^
```
</details>
--
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]