bu2 opened a new pull request #9024: URL: https://github.com/apache/arrow/pull/9024
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). 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 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: [email protected]
