Omega359 opened a new issue, #13357:
URL: https://github.com/apache/datafusion/issues/13357
### Describe the bug
regexp match's signature:
```
// TODO: Native support Utf8View for regexp_match.
TypeSignature::Exact(vec![Utf8, Utf8]),
TypeSignature::Exact(vec![LargeUtf8, LargeUtf8]),
TypeSignature::Exact(vec![Utf8, Utf8, Utf8]),
TypeSignature::Exact(vec![LargeUtf8, LargeUtf8,
LargeUtf8]),
```
This udf should be updated to include support for Utf8View. The type
signature might want to be updated to use the new TypeSignature::String (see
https://github.com/apache/datafusion/issues/13301)
### To Reproduce
Add the following to the string view tests in regexp.slt
```
SELECT regexp_match(str, 'a.*', 'i') from t;
```
This will require https://github.com/apache/datafusion/issues/13348 to be in
place to test the binary express equivalent
### Expected behavior
Test passes, explain of plan verifies that no type coercion occurred to
force Utf8View to Utf8
### 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]