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: 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

Reply via email to