Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I have two usecases where I would like to reuse the logic in Predicate outside of arrow-rs:
- When processing data in many small batches I'd like to build a
Regex only once and reuse that predicate, instead of arrow having to translate the pattern separately for each batch.
- I have some row-based expression evaluation code that should also support
LIKE expressions, it would be great to be able to reuse the same optimized translation into regular expressions as for array evaluation.
Describe the solution you'd like
Making Predicate and its methods public would allow me to solve those usecases
Describe alternatives you've considered
Copying the code into my project would be an alternative.
Additional context
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I have two usecases where I would like to reuse the logic in
Predicateoutside of arrow-rs:Regexonly once and reuse that predicate, instead of arrow having to translate the pattern separately for each batch.LIKEexpressions, it would be great to be able to reuse the same optimized translation into regular expressions as for array evaluation.Describe the solution you'd like
Making
Predicateand its methods public would allow me to solve those usecasesDescribe alternatives you've considered
Copying the code into my project would be an alternative.
Additional context