zanmato1984 commented on code in PR #43256:
URL: https://github.com/apache/arrow/pull/43256#discussion_r1679253813


##########
cpp/src/arrow/compute/expression.h:
##########
@@ -220,9 +220,15 @@ Result<Expression> ReplaceFieldsWithKnownValues(const 
KnownFieldValues& known_va
 /// a boolean expression which is guaranteed to evaluate to `true`. For 
example, this is
 /// used to remove redundant function calls from a filter expression or to 
replace a
 /// reference to a constant-value field with a literal.
+///
+/// An is_in predicate can be simplified in certain cases if the value set is
+/// sorted and does not contain deuplicates. Passing true for 
is_in_value_set_sorted

Review Comment:
   ```suggestion
   /// sorted and does not contain duplicates. Passing true for 
is_in_value_set_sorted
   ```



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