Christian8491 commented on a change in pull request #10896:
URL: https://github.com/apache/arrow/pull/10896#discussion_r686962782
##########
File path: cpp/src/arrow/compute/kernels/scalar_validity.cc
##########
@@ -202,23 +221,29 @@ const FunctionDoc is_inf_doc(
("For each input value, emit true iff the value is infinite (inf or
-inf)."),
{"values"});
-const FunctionDoc is_null_doc("Return true if null",
- ("For each input value, emit true iff the value
is null."),
- {"values"});
+const FunctionDoc is_null_doc(
+ "Return true if null, NaN can be considered as null",
+ ("For each input value, emit true iff the value is null. Default behavior
is to emit "
+ "false for NaN values. True can be emitted for NaN values by toggling "
+ "NanNullOptions flag."),
+ {"values"}, "NanNullOptions");
const FunctionDoc is_nan_doc("Return true if NaN",
("For each input value, emit true iff the value
is NaN."),
{"values"});
} // namespace
+FunctionOptions kNanNullOptions = NanNullOptions::Defaults();
Review comment:
It was addressed on 2e772c1
--
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]