github-actions[bot] commented on code in PR #34421:
URL: https://github.com/apache/doris/pull/34421#discussion_r1592168754


##########
be/src/pipeline/pipeline_fragment_context.cpp:
##########
@@ -236,7 +236,8 @@ PipelinePtr 
PipelineFragmentContext::add_pipeline(PipelinePtr parent, int idx) {
     return pipeline;
 }
 
-Status PipelineFragmentContext::prepare(const doris::TPipelineFragmentParams& 
request) {
+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:238:** 88 lines including 
whitespace and comments (threshold 80)
   ```cpp
   
                                       ^
   ```
   
   </details>
   



##########
be/src/pipeline/pipeline_fragment_context.cpp:
##########
@@ -335,16 +319,16 @@
     }
 
     // 5. Build pipeline tasks and initialize local state.
-    RETURN_IF_ERROR(_build_pipeline_tasks(request));
+    RETURN_IF_ERROR(_build_pipeline_tasks(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:329:** 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: 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