Omega359 opened a new issue, #13347: URL: https://github.com/apache/datafusion/issues/13347
### Describe the bug ``` query T select COALESCE(arrow_cast(null, 'Utf8'), arrow_cast('t', 'Utf8View')); ---- t ``` External error: query failed: DataFusion error: Error during planning: Execution error: User-defined coercion failed with Execution("Fail to find the coerced type, errors: Some(Execution(\"Expect to get struct but got Utf8\"))") No function matches the given name and argument types 'coalesce(Utf8, Utf8View)'. You might need to add explicit type casts. Candidate functions: coalesce(UserDefined) ### To Reproduce See bug description. Test passes if all values are Utf8 ### Expected behavior The test should pass ### Additional context Seeing this after upgrading to latest HEAD as of Nov 10 2024. -- 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org