[
https://issues.apache.org/jira/browse/ARROW-10166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206416#comment-17206416
]
Will Jones commented on ARROW-10166:
------------------------------------
Nevermind, I was missing something. NOT is implemented as a function here:
https://github.com/apache/arrow/blob/238a9497269f39ab4d5bf20c28c2431a1b4e6673/cpp/src/gandiva/function_registry_arithmetic.cc#L38
> [Gandiva] Add MakeNot to TreeExprBuilder
> ----------------------------------------
>
> Key: ARROW-10166
> URL: https://issues.apache.org/jira/browse/ARROW-10166
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++ - Gandiva
> Reporter: Will Jones
> Priority: Minor
> Labels: gandiva
>
> Currently we can build complex filter expressions with AND and OR, but I
> don't see a clear way to do negation (maybe I am missing something?). Propose
> adding a MakeNot function that works like MakeAnd and MakeOr. (See:
> [https://github.com/apache/arrow/blob/d542482bdc6bea8a449f000bdd74de8990c20015/cpp/src/gandiva/tree_expr_builder.h]).
>
> Would be nice to also expose this in the Python interface, and whatever other
> interfaces might want it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)