You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
coalesce function fails in planning if any argument is Utf8View type #13347
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.
Activity
Omega359 commentedon Nov 11, 2024
Related to and possibly caused by #12864