You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/05/18 14:14:00 UTC
[jira] [Comment Edited] (ARROW-9430) [C++/Python] Kernel for
SetItem(BooleanArray, values)
[ https://issues.apache.org/jira/browse/ARROW-9430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346924#comment-17346924 ]
Joris Van den Bossche edited comment on ARROW-9430 at 5/18/21, 2:13 PM:
------------------------------------------------------------------------
Is the intended result here something like
{noformat}
Setitem(array, mask, values) -> new_array
SetItem([1, 2, 3, 4], [true, false, true, null], [4, 5]) -> [4, 2, 5, null]
{noformat}
?
was (Author: lidavidm):
Is the intended result here something like
{noformat}
SetItem([1, 2, 3, 4], [true, false, true, null], [4, 5]) -> [4, 2, 5, null]{noformat}
?
> [C++/Python] Kernel for SetItem(BooleanArray, values)
> -----------------------------------------------------
>
> Key: ARROW-9430
> URL: https://issues.apache.org/jira/browse/ARROW-9430
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++, Python
> Reporter: Uwe Korn
> Priority: Major
>
> We should have a kernel that allows overriding the values of an array by supplying a boolean mask and a scalar or an array of equal length.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)