You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ben Chambers (Jira)" <ji...@apache.org> on 2021/03/03 00:22:00 UTC

[jira] [Created] (ARROW-11847) Confusion: `null_buffer` contains `1` to indicate `valid`

Ben Chambers created ARROW-11847:
------------------------------------

             Summary: 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


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)