Commit 27fdd35
authored
MINOR: [Docs] Clarify struct validity masking with 'hidden data' example (#49554)
### Rationale for this change
The current documentation contains a technical inconsistency in the validity bitmap values for column 4.
According to the Arrow specification:
> In Arrow, a dedicated buffer, known as the validity (or “null”) bitmap, is used alongside the data indicating whether each value in the array is null or not: a value of 1 means that the value is not-null (“valid”), whereas a value of 0 indicates that the value is null.
In the existing example, the validity bitmap for the third row of the variable-size binary child array is incorrectly set to 1, despite the row being null. This PR corrects that bit to 0 to align with the fixed-size primitive child array and the overall Arrow memory layout standards.
### What changes are included in this PR?
Updated the struct-diagram.svg
### Are these changes tested?
No
### Are there any user-facing changes?
No
Authored-by: Philipp Ucke <philippucke@googlemail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>1 parent d08d5e6 commit 27fdd35
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
299 | 306 | | |
300 | 307 | | |
301 | 308 | | |
| |||
0 commit comments