renato2099 opened a new pull request, #17639:
URL: https://github.com/apache/datafusion/pull/17639

   ## Which issue does this PR close?
   
   - Closes #17630.
   
   ## Rationale for this change
   
   Window functions end up adding two columns 
   
   ## What changes are included in this PR?
   
   Modified the `with_column` method to skip columns added by window functions 
as their aliased version is added anyway.
   
   ## Are these changes tested?
   
   Added a unit test asserting for the specific number of columns.
   
   ## 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]

Reply via email to