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

Rewrite pattern[A-B]{X,Y} (a pattern string followed by X to Y chars in range A - B) in RLIKE to a custom kernel #10821

Closed
Tracked by #10741
thirtiseven opened this issue May 15, 2024 · 0 comments · Fixed by #10822
Assignees
Labels
performance A performance related task/issue

Comments

@thirtiseven
Copy link
Collaborator

thirtiseven commented May 15, 2024

To speedup rlike, we can rewrite some pattern to custom kernel. pattern[A-B]{x,y} is a common pattern we observed in customer use cases. We can rewrite them into a general custom kernel to match when a string contains a pattern like pattern[A-B]{x,y}.

It needs a JNI kernel and related plugin change to match this pattern in regexParser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance A performance related task/issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants