Dandandan commented on issue #13586: URL: https://github.com/apache/datafusion/issues/13586#issuecomment-2516628512
`SortPreservingMergeStreamExec` now works as follows since https://github.com/apache/datafusion/pull/3386 * Converting rows to row-format (which involves copying / converting the datasets to some byte format) * Comparing the sorted partitions/streams against each other (via `Compare`), choosing the smallest/biggest row I think for single column sorts (like this query), we should be able to avoid converting to `Row` and comparing the (primitive) values instead, which should speedup single column sorts as it avoids the conversion step and will allow comparing the primitive values. `SortExec` uses single-column sort already. -- 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]
