rkrishn7 opened a new pull request, #15242: URL: https://github.com/apache/datafusion/pull/15242
## Which issue does this PR close? Closes #15236 ## Rationale for this change An assumption made by a predicate while re-writing union inputs is incorrect. Even if an input node's schema has the same width as the final schema, we still want to wrap the input with a projection as ordering is this doesn't guarantee ordering. ## Are these changes tested? Yes ## Are there any user-facing changes? N/A -- 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