timsaucer opened a new pull request, #19719: URL: https://github.com/apache/datafusion/pull/19719
## Which issue does this PR close? - Closes #19717 ## Rationale for this change If we have a `StreamingTable` that has both physical sort expressions and projection, we will get errors when trying to execute the plan if the sort expressions are not included in the projection. ## What changes are included in this PR? When we have both projection and physical sort expressions, project the schema and the sort expressions. ## Are these changes tested? Unit test added. ## Are there any user-facing changes? No -- 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]
