[ 
https://issues.apache.org/jira/browse/ARROW-7179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396577#comment-17396577
 ] 

Joris Van den Bossche commented on ARROW-7179:
----------------------------------------------

We actually already have a "fill_null" kernel for filling with a scalar (added 
in ), so this issue was about expanding that kernel to also support array fill 
values. That's indeed the same as coalesce. But, "fill_null" is currently a 
fully separate implementation (scalar_fill_null.cc), while I suppose "coalesce" 
might also have a specialized path for scalar fill values? That could 
potentially be consolidated?



> [C++][Compute] Array support for fill_null
> ------------------------------------------
>
>                 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: David Li
>            Priority: Major
>              Labels: analytics
>             Fix For: 5.0.0
>
>
> Add kernels to support which replacing null values in an array with values 
> taken from corresponding slots in another array:
> {code}
> fill_null([1, null, null, 3], [5, 6, null, 8]) -> [1, 6, null, 3]
> {code}



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

Reply via email to