NOT RLIKE(Lakehouse v1)
如果字符串 expr 与模式 pat 指定的正则表达式不匹配,则返回 1,否则返回 0。
Analyze 语法
Section titled “Analyze 语法”not_(<column>.regexp_match(<pattern>))Analyze 示例
Section titled “Analyze 示例”With an input table of:┌─────────────────┐│ my_clothes │├─────────────────┤│ plaid pants ││ plaid hat ││ plaid shirt ││ shoes │└─────────────────┘
not_(my_clothes.regexp_match('p*'))┌─────────────────────────────────────┐│ not_(my_clothes.regexp_match('p*')) │├─────────────────────────────────────┤│ false ││ false ││ false ││ true │└─────────────────────────────────────┘SQL 语法
Section titled “SQL 语法”<expr> NOT RLIKE <pattern>SQL 示例
Section titled “SQL 示例”SELECT 'databend' not rlike 'd*';┌─────────────────────────────┐│ ('databend' not rlike 'd*') │├─────────────────────────────┤│ 0 │└─────────────────────────────┘