bkietz commented on code in PR #40688:
URL: https://github.com/apache/arrow/pull/40688#discussion_r1543924776


##########
cpp/src/arrow/compute/expression.cc:
##########
@@ -874,7 +874,7 @@ Result<Expression> FoldConstants(Expression expr) {
           }
         }
 
-        if (call->function_name == "and_kleene") {
+        if (call->function_name == "and_kleene" || call->function_name == 
"and") {

Review Comment:
   Okay, then maybe we should close this PR if we don't need to optimize for 
non-Kleene operators.



-- 
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]

Reply via email to