You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/08/07 01:10:39 UTC
[GitHub] [arrow] edponce commented on a change in pull request #10896: ARROW-12959: [C++] Option for is_null(NaN) to evaluate to true
edponce commented on a change in pull request #10896:
URL: https://github.com/apache/arrow/pull/10896#discussion_r684474220
##########
File path: cpp/src/arrow/compute/api_scalar.cc
##########
@@ -471,6 +478,10 @@ Result<Datum> CaseWhen(const Datum& cond, const std::vector<Datum>& cases,
return CallFunction("case_when", args, ctx);
}
+Result<Datum> IsNull(const Datum& arg, const NanNullOptions& options, ExecContext* ctx) {
+ return CallFunction("is_null", {arg}, &options, ctx);
Review comment:
This signature is different from the one exposed in `api_scalar.h`, this results in linker error. Change to
```
Result<Datum> IsNull(const Datum& arg, NanNullOptions options, ExecContext* ctx) {
...
}
```
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org