Antoine Pitrou created ARROW-15846:
--------------------------------------

             Summary: [Format] Clarify presence of Struct array validity bitmap
                 Key: ARROW-15846
                 URL: https://issues.apache.org/jira/browse/ARROW-15846
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Format
            Reporter: Antoine Pitrou
             Fix For: 8.0.0


The following wording in the format spec is a bit ambiguous:

bq.  A struct array must still have an allocated validity bitmap, if it has one 
or more null values.

https://arrow.apache.org/docs/format/Columnar.html#struct-layout

This can be misinterpreted as meaning that a struct array with no nulls does 
not have any buffer at all. In reality, it has an "absent" validity buffer 
(e.g. with 0 length).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to