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

   ## Which issue does this PR close?
   
   Part of https://github.com/apache/datafusion/issues/12733
   
   ## Rationale for this change
   
   The field metadata was not being extracted from the ExprSchema for cast 
expressions. When cast was used as a projection on an aggregate, it would be 
missing the field metadata and fail for schema-misalignment check (see 
[background 
epic](https://github.com/apache/datafusion/issues/12733#issue-2563622229)).
   
   ## What changes are included in this PR?
   
   commit 1 = test case with reproducer.
   commit 2 = fix, and update test cases
   
   ## 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