bkietz commented on code in PR #40688:
URL: https://github.com/apache/arrow/pull/40688#discussion_r1541472562
##########
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:
> Yes, SQL logical operators should do these things by their own
sql-optimizer with sql-standard grammar. And the kleene logical functions seems
enough for other compute operators?
I'm confused; SQL's AND == `and_kleene`. `and` does not have a SQL
equivalent to my knowledge.
--
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]