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


##########
be/src/vec/exec/vaggregation_node.cpp:
##########
@@ -1127,6 +1204,205 @@ Status 
AggregationNode::_pre_agg_with_serialized_key(doris::vectorized::Block* i
     return Status::OK();
 }
 
+struct PartitionHelper {
+    static constexpr size_t PartitionCountBits = 4;

Review Comment:
   set it to session variable, because if the query is very large, 16 sub 
hashtables will also consume a lot of memory. Maybe spill it to 256 sub hash 
tables for some query.



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