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/06/02 08:03:01 UTC

[GitHub] [arrow] jorisvandenbossche commented on a change in pull request #10410: ARROW-10640: [C++] A, "if_else" ("where") kernel to combine two arrays based on a mask

jorisvandenbossche commented on a change in pull request #10410:
URL: https://github.com/apache/arrow/pull/10410#discussion_r643732150



##########
File path: cpp/src/arrow/compute/api_scalar.h
##########
@@ -462,5 +462,21 @@ ARROW_EXPORT
 Result<Datum> FillNull(const Datum& values, const Datum& fill_value,
                        ExecContext* ctx = NULLPTR);
 
+/// \brief IfElse returns elements chosen from `left` or `right`
+/// depending on `cond`. `null` values would be promoted to the result

Review comment:
       ```suggestion
   /// depending on `cond`. `null` values in `cond` will be promoted to the result
   ```




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org