You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2018/10/21 18:29:00 UTC
[jira] [Resolved] (ARROW-3573) [Rust] with_bitset does not set
valid bits correctly
[ https://issues.apache.org/jira/browse/ARROW-3573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe L. Korn resolved ARROW-3573.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Issue resolved by pull request 2803
[https://github.com/apache/arrow/pull/2803]
> [Rust] with_bitset does not set valid bits correctly
> ----------------------------------------------------
>
> Key: ARROW-3573
> URL: https://issues.apache.org/jira/browse/ARROW-3573
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Reporter: Paddy Horan
> Assignee: Paddy Horan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.12.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The boundary check is off a little, {color:#333333}`MutableBuffer::new(64).with_bitset(64, false);` will fail. This issue only happens if the arguments to `new` and `with_bitset` are the same and a multiple of 64.
> {color}
> {color:#333333}`write_bytes` is currently writing 1 instead of 255 to set all the bits when `val` is `true`{color}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)