morningman commented on a change in pull request #7181:
URL: https://github.com/apache/incubator-doris/pull/7181#discussion_r754758749
##########
File path: be/src/exec/partitioned_aggregation_node.cc
##########
@@ -849,7 +849,7 @@ Status PartitionedAggregationNode::Partition::Spill(bool
more_aggregate_rows) {
// TODO(ml): enable spill
std::stringstream msg;
msg << "New partitioned Aggregation in spill";
- LIMIT_EXCEEDED(parent->mem_tracker(), parent->state_, msg.str());
+ LIMIT_EXCEEDED(parent->state_->query_mem_tracker(), parent->state_,
msg.str());
Review comment:
I think you can just use `instance_mem_tracker()`
cc @xinyiZzz
--
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]