ZhangHuiGui commented on code in PR #40396:
URL: https://github.com/apache/arrow/pull/40396#discussion_r1521658213
##########
cpp/src/arrow/compute/expression.cc:
##########
@@ -861,10 +862,6 @@ Result<Expression> FoldConstants(Expression expr) {
if (GetNullHandling(*call) == compute::NullHandling::INTERSECTION) {
// kernels which always produce intersected validity can be resolved
// to null *now* if any of their inputs is a null literal
- if (!call->type.type) {
Review Comment:
We have checked IsBound() at the start of this function, so the call's type
can't be null.
--
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]