Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regex rewrite kernel to find literal[a,b]{x,y} in a string #1

Merged
merged 15 commits into from
May 21, 2024

Conversation

thirtiseven
Copy link

PR in main repo: NVIDIA#2041

This pr adds a custom kernel to rewrite regex patterns like literal[a-b]{x,y} to get performance gain for rlike in spark-rapids.

It checks if each string contains a substring that starts with a given prefix and follows at least x characters whose codepoints are in the range of [a,b].

@wjxiz1992 wjxiz1992 merged commit 5156fe2 into wjxiz1992:0520-base May 21, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants