tshauck opened a new issue, #11786:
URL: https://github.com/apache/datafusion/issues/11786
### Is your feature request related to a problem or challenge?
From what I can tell, `starts_with` when called with utf8view will have its
arguments coerced to a regular utf8 array type.
### Describe the solution you'd like
I'd like datafusion to use utf8views throughout the call to the
`starts_with` arrow kernel function that does appear to support utf8 views.
### Describe alternatives you've considered
_No response_
### Additional context
When putting a debug statement in the `invoke` method of the `starts_with`
udf.
```
> CREATE TABLE t AS SELECT starts_with(arrow_cast('alphabetsoup',
'Utf8View'), arrow_cast('alpha', 'Utf8View'));
starts_with args: [Scalar(Utf8("alphabetsoup")), Scalar(Utf8("alpha"))]
0 row(s) fetched.
Elapsed 0.030 seconds.
```
--
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]