Dandandan commented on issue #13642: URL: https://github.com/apache/datafusion/issues/13642#issuecomment-2633132708
Hm I see the query has two I am not totally sure where I found the single row still in `SortPreservingMergeStream`. I do think however there is opportunity for `sort_batch` in `ExternalSorter` (https://github.com/apache/datafusion/blob/ea788c72dddf24acd8dc8068cede939e11dfab84/datafusion/physical-plan/src/sorts/sort.rs#L628 ) I'll open a new ticket about that one. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org