xinyiZzz commented on a change in pull request #8476:
URL: https://github.com/apache/incubator-doris/pull/8476#discussion_r829025201
##########
File path: be/src/exprs/agg_fn_evaluator.cpp
##########
@@ -154,7 +154,7 @@ Status AggFnEvaluator::prepare(RuntimeState* state, const
RowDescriptor& desc, M
_intermediate_slot_desc = intermediate_slot_desc;
_string_buffer_len = 0;
- _mem_tracker = mem_tracker;
+ _mem_tracker = MemTracker::create_virtual_tracker(-1, "AggFnEvaluator",
mem_tracker);
Review comment:
The `memtracker` param is used in Expr::prepare on the next line, which
I modified.
In addition, it is also the parent of the virtual tracker `_mem_tracker`.
--
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]