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.
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 likepattern[A-B]{x,y}
.It needs a JNI kernel and related plugin change to match this pattern in regexParser.