Jorge Leitão created ARROW-14680: ------------------------------------ Summary: [C++] NullArray should not expect 1 buffer. Key: ARROW-14680 URL: https://issues.apache.org/jira/browse/ARROW-14680 Project: Apache Arrow Issue Type: Bug Components: C++ Reporter: Jorge Leitão
When round-tripping over the C data interface, the validation of the NullArray requests 1 buffer. However, [the specification requires none|https://arrow.apache.org/docs/format/Columnar.html#null-layout]. This also happens when creating a NullArray - the below errors: ``` import pyarrow pyarrow.NullArray.from_buffers(pyarrow.null(), 10, []) > ValueError: Type's expected number of buffers (1) did not match the passed > number (0). ``` -- This message was sent by Atlassian Jira (v8.20.1#820001)