Dandandan commented on issue #5472:
URL: 
https://github.com/apache/arrow-datafusion/issues/5472#issuecomment-1638263130

   I wonder how a `GroupsAccumulator` implementation could look like.
   Make something like a `HashSet<(u64, OwnedRow>)` (index + row content) or 
`HashSet<(u64, ArrowPrimitiveType>)` for single rows / primitive type.
   
   A way to make it even faster is to use `create_hashes` + memoize hashes 
(i.e. also store hash in table) and use the `RawTable` API.
   
   Also there are probably more opportunities to rewrite queries (i.e. rewrite 
`select distinct` + `join` on the group by keys might work faster in some 
cases).


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

Reply via email to