zyuiop opened a new issue, #23045:
URL: https://github.com/apache/datafusion/issues/23045

   ### Describe the bug
   
   Type coercion of `COALESCE` returns Int even when there are string 
arguments. This is not always correct, as '' is a valid string but cannot be 
converted to int. 
   
   ### To Reproduce
   
   ```sql
   SELECT coalesce(1,'')
   ```
   
   should be typed as a string, not int
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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