It would be useful to be able to create a filter expression from a string,
e.g. "date == '2020-01-01' and value >= 1" instead of (field("date") ==
'2020-01-01') & (field("value") >= 1).

There are some existing libraries that make it pretty easy to do in Python
(see here <https://gist.github.com/josham/e5a13a16e9f18d7b9056127ac522cf23>)
though an old issue ARROW-3458
<https://issues.apache.org/jira/browse/ARROW-3458> suggests using Antlr and
C++.  If a Python only solution is OK I'd be happy to work on adding the
feature.  If Antlr/C++ is preferred I can help with the grammar and testing
but probably not the best person to do the C++ work.

Josh

Reply via email to