You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can speed up rlike by rewrite some common pattern into some faster operations. First two steps can be rewrite ^literal to startsWith and literal to Contains.
Now we use a RegexParser to parse the input regex to a transpiledAST, then generate a new regex string from it that can be supported by cuDF. With this RegexParser, we can match the input regex AST, and replace it with GpuStartsWith or GpuContains when overriding.
The text was updated successfully, but these errors were encountered:
thirtiseven
changed the title
Rewrite some rlike expression to StartsWith/EndsWith/Contains/EqualTo
Rewrite some rlike expression to StartsWith/Contains
May 21, 2024
We can speed up
rlike
by rewrite some common pattern into some faster operations. First two steps can be rewrite^literal
to startsWith andliteral
to Contains.Now we use a RegexParser to parse the input regex to a transpiledAST, then generate a new regex string from it that can be supported by cuDF. With this RegexParser, we can match the input regex AST, and replace it with GpuStartsWith or GpuContains when overriding.
The text was updated successfully, but these errors were encountered: