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


##########
be/src/runtime/fragment_mgr.cpp:
##########
@@ -747,8 +747,12 @@ Status FragmentMgr::exec_plan_fragment(const 
TExecPlanFragmentParams& params, Fi
                         fragments_ctx, _exec_env, cb);
         {
             SCOPED_RAW_TIMER(&duration_ns);
-            RETURN_IF_ERROR(context->prepare(params));
+            auto prepare_st = context->prepare(params);
             g_fragmentmgr_prepare_latency << (duration_ns / 1000);
+            if (!prepare_st.OK()) {

Review Comment:
   warning: static member accessed through instance 
[readability-static-accessed-through-instance]
   
   ```suggestion
               if (!doris::Status::OK()) {
   ```
   



-- 
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