adamreeve commented on code in PR #55293:
URL: https://github.com/apache/arrow/pull/55293#discussion_r4779448395


##########
cpp/src/arrow/compute/expression.cc:
##########
@@ -1445,6 +1615,14 @@ Result<Expression> SimplifyWithGuarantee(Expression expr,
 
   RETURN_NOT_OK(ExtractKnownFieldValues(&conjunction_members, &known_values));
 
+  // Ranges which may be null are applied after the other members of the 
guarantee, so
+  // that literals folded from them are not offered to existing comparisons 
against
+  // non-null floating point bounds (which do not account for NaN; see
+  // https://github.com/apache/arrow/issues/51491).

Review Comment:
   I don't follow what's happening here. Would it be possible to explain this 
more simply?



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