Omega359 commented on issue #15872: URL: https://github.com/apache/datafusion/issues/15872#issuecomment-2850904327
> ah, regexp_like() is good. Thanks [@Omega359](https://github.com/Omega359) But it makes me confused why some functions works in both select and where (regexp_like) and some not (regexp_match, probably others). and not something that I have seen in documentation. regexp_like returns booleans, the others do not. Where requires it's clauses to evaluate to boolean. ```sql select * from t where regexp_match(a, 'a') is not null; ``` may also work ... untested though. -- 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