timsaucer opened a new pull request, #12431: URL: https://github.com/apache/datafusion/pull/12431
## Which issue does this PR close? Closes #12425 ## Rationale for this change The current implementation regresses when you have multiple columns without a qualifier and the new with_column is a window function. This is because the loop is checking for any field to not have a qualifier. ## What changes are included in this PR? Check the display name of the expr in the schema matches that of the window function that was added. ## Are these changes tested? Updated unit test ## Are there any user-facing changes? None -- 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]
