You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "lidavidm (Jira)" <ji...@apache.org> on 2019/09/06 15:43:08 UTC

[jira] [Commented] (ARROW-4914) [Rust] Array slice returns incorrect bitmask

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

lidavidm commented on ARROW-4914:
---------------------------------

It looks like this was fixed as part of ARROW-4853, can it be closed?

> [Rust] Array slice returns incorrect bitmask
> --------------------------------------------
>
>                 Key: ARROW-4914
>                 URL: https://issues.apache.org/jira/browse/ARROW-4914
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Rust
>    Affects Versions: 0.13.0
>            Reporter: Neville Dipale
>            Priority: Blocker
>              Labels: beginner
>
> Slicing arrays changes the offset, length and null count of their array data, but the bitmask is not changed.
> This results in the correct null count, but the array values might be marked incorrectly as valid/invalid based on the old bitmask positions before the offset.
> To reproduce, create an array with some null values, slice the array, and then dbg!() it (after downcasting).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)