discord9 commented on issue #7267:
URL: https://github.com/apache/arrow-rs/issues/7267#issuecomment-2713480122

   > I'm not sure this would yield the correct sort order, if I sort by column 
`a`, and then **stable** sort by `b,c` the resulting order would be `b,c,a` not 
`a,b,c`. Also the sort kernel is not stable, so this probably won't work for 
that reason either.
   > 
   > In general an approach like this will really depend on if there is 
correlation between the column values.
   > 
   > As an aside, for multi-column sorts I would recommend looking at the row 
format.
   
   yes after fix it by then unstable sort by a,b,c, only 8% speedup is observed 
in very small amount of distinct values


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