yiguolei commented on code in PR #39397:
URL: https://github.com/apache/doris/pull/39397#discussion_r1718029959


##########
be/src/pipeline/exec/aggregation_sink_operator.cpp:
##########
@@ -97,11 +97,11 @@ Status AggSinkLocalState::open(RuntimeState* state) {
         RETURN_IF_ERROR(
                 p._probe_expr_ctxs[i]->clone(state, 
Base::_shared_state->probe_expr_ctxs[i]));
     }
-    Base::_shared_state->agg_profile_arena = 
std::make_unique<vectorized::Arena>();
+    _agg_profile_arena = std::make_unique<vectorized::Arena>();

Review Comment:
   为什么要在open里?不是在构造函数里?



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