alippai commented on issue #36709:
URL: https://github.com/apache/arrow/issues/36709#issuecomment-1642438044

   Using the current unordered hashmap implementation would be the same keys 
from the same group next to each other? so eg.:
   
   ```sql
   select col, sum(x) from tbl group by 1
   ```
   
   ```
   C 1
   C 3
   C 2
   A 3
   A 2
   A 1
   B 1
   B 2
   B 3
   ```
   This sounds pretty easy to fix just slicing / memcpy the columns.
   Even using REE for the grouping col is a possibility (and implementing an 
REE based optimized `take_ranges` or similar).


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