You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2019/11/15 16:05:00 UTC

[jira] [Created] (ARROW-7179) [C++][Compute] Coalesce kernel

Ben Kietzman created ARROW-7179:
-----------------------------------

             Summary: [C++][Compute] Coalesce kernel
                 Key: ARROW-7179
                 URL: https://issues.apache.org/jira/browse/ARROW-7179
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
    Affects Versions: 0.15.1
            Reporter: Ben Kietzman
            Assignee: Ben Kietzman
             Fix For: 1.0.0


Add a kernel which replaces null values in an array with a scalar value or with values taken from another array:

{code}
coalesce([1, 2, null, 3], 5) -> [1, 2, 5, 3]
coalesce([1, null, null, 3], [5, 6, null, 8]) -> [1, 6, null, 3]
{code}

The code in {{take_internal.h}} should be of some use with a bit of refactoring.

A filter Expression should be added at the same time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)