arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neville Dipale (JIRA)" <>
Subject [jira] [Created] (ARROW-4914) [Rust] Array slice returns incorrect bitmask
Date Sat, 16 Mar 2019 07:17:00 GMT
Neville Dipale created ARROW-4914:

             Summary: [Rust] Array slice returns incorrect bitmask
                 Key: ARROW-4914
             Project: Apache Arrow
          Issue Type: Bug
          Components: Rust
    Affects Versions: 0.13.0
            Reporter: Neville Dipale

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

View raw message