[
https://issues.apache.org/jira/browse/ARROW-3573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-3573:
----------------------------------
Labels: pull-request-available (was: )
> [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
>
> 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)