nuno-faria opened a new pull request, #20146:
URL: https://github.com/apache/datafusion/pull/20146

   ## Which issue does this PR close?
   
   - Closes #20123.
   
   ## Rationale for this change
   
   When aliasing a cast, use the original name to prevent duplicate column 
names errors.
   
   ## What changes are included in this PR?
   
   - Updated `coerce_exprs_for_schema` to use the correct name.
   - Updated tests.
   
   ## Are these changes tested?
   
   Yes.
   
   ## 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