You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2021/06/22 00:15:00 UTC

[jira] [Commented] (ARROW-9433) [C++/Python] Add option to Take kernel to interpret negative indices as NULL

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

Wes McKinney commented on ARROW-9433:
-------------------------------------

This might be achievable similar to ARROW-9432 by rewriting the indices (to make the negative numbers all 0 or similar) and then setting the null bitmap entries according to what's negative. 

> [C++/Python] Add option to Take kernel to interpret negative indices as NULL
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-9433
>                 URL: https://issues.apache.org/jira/browse/ARROW-9433
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++, Python
>            Reporter: Uwe Korn
>            Priority: Major
>             Fix For: 5.0.0
>
>
> Currently negative integers are explicitly forbidding in the {{Take}} kernel. It would be nice to have the option to treat negative integers as NULL instead.



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