NOT REGEXP (Lakehouse v1)
Renvoie 1 si la chaîne expr ne correspond pas à l’expression régulière définie par le motif pat, sinon 0.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »not_(<column>.regexp_match(<pattern>))Exemples Analyze
Section intitulée « Exemples 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 │└─────────────────────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »<expr> NOT REGEXP <pattern>Exemples SQL
Section intitulée « Exemples SQL »SELECT 'databend' NOT REGEXP 'd*';┌──────────────────────────────┐│ ('databend' not regexp 'd*') │├──────────────────────────────┤│ 0 │└──────────────────────────────┘