[
https://issues.apache.org/jira/browse/ARROW-11063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Lamb resolved ARROW-11063.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 9041
[https://github.com/apache/arrow/pull/9041]
> [Rust] Validate null counts when building arrays
> ------------------------------------------------
>
> Key: ARROW-11063
> URL: https://issues.apache.org/jira/browse/ARROW-11063
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust
> Reporter: Neville Dipale
> Assignee: Neville Dipale
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> ArrayDataBuilder allows the user to specify a null count, alternatively
> calculating it if it is not set.
> The problem is that the user-specified null count is never validated against
> the actual count of the buffer.
> I suggest removing the ability to specify a null-count, and instead always
> calculating it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)