emptyOVO opened a new issue, #11132:
URL: https://github.com/apache/inlong/issues/11132

   ### Description
   
   * parent issue: 10796
   Postgresql official description document: 
https://www.postgresql.org/docs/current/functions-matching.html
   `expr SIMILAR TO pat` :
   
   Pattern matching using an SQL pattern. Returns 1 (TRUE) or 0 (FALSE). If 
either expr or pat is NULL, the result is NULL.
   `expr NOT SIMILAR TO pat`:
   
   This is the same as `NOT [expr SIMILAR TO pat]`
   
   
   ### Use case
   
   'David!' SIMILAR TO 'David_'   ->   1
   'David!' SIMILAR TO '%D%v%'    ->   1
   
   'David!' NOT SIMILAR TO 'David_'   ->   0
   'David!' NOT SIMILAR TO '%D%v%'    ->   0
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: dev-unsubscr...@inlong.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to