haohuaijin opened a new pull request, #12109: URL: https://github.com/apache/datafusion/pull/12109
## Which issue does this PR close? Closes #. ## Rationale for this change When SortPreservingMergeExec has only one partition, it directly calls its input to get the result. Therefore, the fetch parameter in SortPreservingMergeExec will have no effect. so this pr, I reuse the LimitStream in Limit to limit the fetch result in SortPreservingMergeExec. ## What changes are included in this PR? ## Are these changes tested? yes, add test for this case ## Are there any user-facing changes? -- 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]
