Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Resolved
-
0.13.0
-
None
Description
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).
Attachments
Issue Links
- is caused by
-
ARROW-3954 [Rust] Add Slice to Array and ArrayData
- Resolved