[
https://issues.apache.org/jira/browse/ARROW-11847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Chambers updated ARROW-11847:
---------------------------------
Summary: [Rust] Confusion: `null_buffer` contains `1` to indicate `valid`
(was: Confusion: `null_buffer` contains `1` to indicate `valid`)
> [Rust] Confusion: `null_buffer` contains `1` to indicate `valid`
> ----------------------------------------------------------------
>
> Key: ARROW-11847
> URL: https://issues.apache.org/jira/browse/ARROW-11847
> Project: Apache Arrow
> Issue Type: Task
> Components: Rust
> Reporter: Ben Chambers
> Priority: Minor
>
> Filing this because it has bitten me once or twice. The name `null_buffer`
> makes me *think* that I'm getting a buffer that indicates (when true) that
> the corresponding value is null. But in actuality, we get back a buffer that
> indicates(when true) that the corresponding value is valid.
> I'm wondering if there is a reason for this discrepancy or if it could make
> sense to rename `null_buffer` to `valid_buffer`?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)