pyflink.table.expression.Expression.similar#
- Expression.similar(pattern: str | Expression[str] | None = None) Expression[bool][source]#
Returns true, if a string matches the specified SQL regex pattern. e.g. ‘A+’ matches all strings that consist of at least one A
See also
trim_leading(),trim_trailing(),trim(),replace(),char_length,upper_case,lower_case,init_cap,like(),similar(),position(),lpad(),rpad(),overlay(),regexp_replace(),regexp_extract(),substring(),from_base64,to_base64,ltrim(),rtrim(),repeat(),json_quote(),json_unquote()Added in version 1.12.0.