Rachelint opened a new issue, #11931:
URL: https://github.com/apache/datafusion/issues/11931

   ### Is your feature request related to a problem or challenge?
   
   Now we manage the group values and the aggregation states by a single big 
vector growing constantly.
   This solution is simple to impl, but really leads to some extra cpu cost 
according to the cpu profile.
   Maybe we should manage them by blocks like duckdb.
   
   ### Describe the solution you'd like
   
   - [ ] Manage group values by blocks
   - [ ] Mange `states` in `GroupsAccumulators` by blocks, similar as #7065 
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   
![](https://github.com/Rachelint/drawio-store/blob/main/%E6%88%AA%E5%B1%8F2024-08-11%2005.46.19.png)


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