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

   ## Which issue does this PR close?
   
   Related to #12733 
   
   We found another bug for aliased now() columns.
   
   ## Rationale for this change
   
   See the reproducer in the [first 
commit](https://github.com/apache/datafusion/commit/47f2a927b2ae3850ed8c0c00a3e967762593f27a).
   
   Both of the next two commits are required for the fix.
   
   
   ## What changes are included in this PR?
   
   `get_field_metadata` should handle aliased columns.
   Also, the `now()` udf is not nullable.
   
   
   ## Are these changes tested?
   
   Yes.
   
   ## Are there any user-facing changes?
   
   Not really.
   Only that the now() udf will return not-nullable (instead of the default 
impl).
   


-- 
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