jhorstmann opened a new issue, #9480:
URL: https://github.com/apache/arrow-rs/issues/9480
**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.
<!--
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
(This section helps Arrow developers understand the context and *why* for
this feature, in addition to the *what*)
-->
**Describe the solution you'd like**
Making `Predicate` and its methods public would allow me to solve those
usecases
<!--
A clear and concise description of what you want to happen.
-->
**Describe alternatives you've considered**
Copying the code into my project would be an alternative.
<!--
A clear and concise description of any alternative solutions or features
you've considered.
-->
**Additional context**
<!--
Add any other context or screenshots about the feature request here.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]