akupchinskiy commented on PR #27047:
URL: https://github.com/apache/datafusion/pull/27047#issuecomment-7199851613

   @alamb reworked as you suggested: group orderings are now stored in the 
arrow row format and compared as bytes. The old `ScalarValue` storage is only 
kept for nested and union ordering types. This fixes the time zone case (783 ms 
-> 18 ms at 10 partitions) and also speeds up other orderings, e.g. (int, int) 
2.2x and (string, int) 1.7x. I added those two to the benchmark as Q05 and Q06.
   
   The last commit fixes the CI failure (ordering memory wasn't released after 
emitting groups) and compacts sparse dictionaries before encoding, which was 
slower than main otherwise. Updated numbers are in the description.
   


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