Bruno LE HYARIC created ARROW-11044:
---------------------------------------
Summary: [C++] Add "replace" kernel
Key: ARROW-11044
URL: https://issues.apache.org/jira/browse/ARROW-11044
Project: Apache Arrow
Issue Type: New Feature
Components: C++
Reporter: Bruno LE HYARIC
Purpose a "replace" compute kernel which could fulfil ARROW-10641 - [C++] A
"replace" or "map" kernel to replace values in array based on mapping
([@jorisvandenbossche|https://github.com/jorisvandenbossche]). The
implementation is inspired by "fill_null" kernel except it takes an additional
BooleanArray parameter which is used as a mask to trigger value replacement.
*WARNING:* the current implementation expects all null values to be replaced in
the output (corresponding bit set to 1 in input mask) because it will not carry
nulls into the output (feel free to share your thoughts on the current
implementation and to give me hints on the easiest way to deal with nulls that
should make it in the output).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)