Omega359 commented on issue #15872:
URL: https://github.com/apache/datafusion/issues/15872#issuecomment-2843008738

   Can someone update the title of this issue to reflect the true nature of the 
enhancement? I don't think this has anything specifically to do with 
regexp_match except that was how it was uncovered...
   
   ```sql
   > create table test (a int, b varchar)  as values (1, 'one'), (2, 'two'), 
(3, 'three');
   > select regexp_match(test.b, '(.){4,}') from test;
   +--------------------------------------+
   | regexp_match(test.b,Utf8("(.){4,}")) |
   +--------------------------------------+
   | NULL                                 |
   | NULL                                 |
   | [e]                                  |
   +--------------------------------------+
   3 row(s) fetched.
   Elapsed 0.001 seconds.
   
   > select regexp_match(test.b, '\\s-O\\s') from test;
   +-------------------------------------+
   | regexp_match(test.b,Utf8("\s-O\s")) |
   +-------------------------------------+
   | NULL                                |
   | NULL                                |
   | NULL                                |
   +-------------------------------------+
   3 row(s) fetched.
   Elapsed 0.005 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: github-unsubscr...@datafusion.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