You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Omega359 (via GitHub)" <gi...@apache.org> on 2024/11/10 22:29:56 UTC
[I] coalesce function fails in planning if any argument is Utf8View type [datafusion]
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-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] coalesce function fails in planning if any argument is Utf8View type [datafusion]
Posted by "jayzhan211 (via GitHub)" <gi...@apache.org>.
jayzhan211 closed issue #13347: coalesce function fails in planning if any argument is Utf8View type
URL: https://github.com/apache/datafusion/issues/13347
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] coalesce function fails in planning if any argument is Utf8View type [datafusion]
Posted by "Omega359 (via GitHub)" <gi...@apache.org>.
Omega359 commented on issue #13347:
URL: https://github.com/apache/datafusion/issues/13347#issuecomment-2467036172
Related to and possibly caused by #12864
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org