[
https://issues.apache.org/jira/browse/ARROW-11248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qingyou Meng updated ARROW-11248:
---------------------------------
Description:
The function has two problems:
* incorrectly calculates the null bit count, perhaps it should be read as
`diff null bit count`, because of the code in `build_extend_null_bits()`:
{code:java}
mutable.null_count += utils::set_bits(...){code}
* does not unset bits
was:
The function has two problems:
* incorrectly calculates the non-null bit count
* does not unset bits
> [Rust] [Arrow] array::transform::utils::set_bits() has bug
> ----------------------------------------------------------
>
> Key: ARROW-11248
> URL: https://issues.apache.org/jira/browse/ARROW-11248
> Project: Apache Arrow
> Issue Type: Bug
> Reporter: Qingyou Meng
> Priority: Major
>
> The function has two problems:
> * incorrectly calculates the null bit count, perhaps it should be read as
> `diff null bit count`, because of the code in `build_extend_null_bits()`:
> {code:java}
> mutable.null_count += utils::set_bits(...){code}
> * does not unset bits
--
This message was sent by Atlassian Jira
(v8.3.4#803005)