[FOLLOW ON] Combining regex parsing in transpiling and regex rewrite in rlike
#10817
Labels
performance
A performance related task/issue
rlike
#10817
Originally posted by @revans2 in #10715 (comment)_
For regex operations like
rlike
, the input regex is transpiled to ast, then another regex string that is supported by cuDF, if it can't be transpiled, then the regex operation falls back to cpu. Transpiling is performed intagExprForGpu
.#10715 introduced regex rewrite for
rlike
, it also needs to parse a regex string to ast inconvertToGpu
. This operation can be combined with the parsing in transpiling to save time and make the code cleaner.We can refactor the transpiler code to split it into two steps: regex string to ast and ast to new regex string, and then move the regex rewrite to
tagExprForGpu
and then save the optimization type in Meta.The text was updated successfully, but these errors were encountered: