NOT REGEXP (Lakehouse v1)
Devolve 1 se a cadeia de caracteres expr não corresponder à expressão regular especificada pelo padrão pat, e 0 caso contrário.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”not_(<column>.regexp_match(<pattern>))Exemplos do Analyze
Seção intitulada “Exemplos do 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 │└─────────────────────────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”<expr> NOT REGEXP <pattern>Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT 'databend' NOT REGEXP 'd*';┌──────────────────────────────┐│ ('databend' not regexp 'd*') │├──────────────────────────────┤│ 0 │└──────────────────────────────┘