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: us...@infra.apache.org