xinyiZzz commented on a change in pull request #8322:
URL: https://github.com/apache/incubator-doris/pull/8322#discussion_r823704760



##########
File path: be/src/exec/partitioned_hash_table.cc
##########
@@ -310,13 +310,13 @@ Status 
PartitionedHashTableCtx::ExprValuesCache::Init(RuntimeState* state,
                                      MAX_EXPR_VALUES_ARRAY_SIZE / 
expr_values_bytes_per_row_));
 
     int mem_usage = MemUsage(capacity_, expr_values_bytes_per_row_, 
num_exprs_);
-    Status st = tracker->TryConsume(mem_usage);
+    Status st = tracker->check_limit(mem_usage);
     WARN_IF_ERROR(st, "PartitionedHashTableCtx::ExprValuesCache failed");

Review comment:
       done, that's right




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