NOT REGEXP (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 │└─────────────────────────────────────┘<expr> NOT REGEXP <pattern>SELECT 'databend' NOT REGEXP 'd*';┌──────────────────────────────┐│ ('databend' not regexp 'd*') │├──────────────────────────────┤│ 0 │└──────────────────────────────┘