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


##########
be/src/pipeline/exec/aggregation_sink_operator.cpp:
##########
@@ -423,11 +416,10 @@ Status 
AggSinkLocalState::_merge_without_key(vectorized::Block* block) {
 }
 
 void AggSinkLocalState::_update_memusage_without_key() {
-    auto arena_memory_usage =
-            _agg_arena_pool->size() - 
Base::_shared_state->mem_usage_record.used_in_arena;
-    Base::_mem_tracker->consume(arena_memory_usage);
-    _serialize_key_arena_memory_usage->add(arena_memory_usage);
-    Base::_shared_state->mem_usage_record.used_in_arena = 
_agg_arena_pool->size();
+    int64_t arena_memory_usage = _agg_arena_pool->size();

Review Comment:
   lost agg hash table?



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

Reply via email to