You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/11/22 16:10:00 UTC

[jira] [Commented] (ARROW-14680) [C++] NullArray should not expect 1 buffer.

    [ https://issues.apache.org/jira/browse/ARROW-14680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447505#comment-17447505 ] 

Antoine Pitrou commented on ARROW-14680:
----------------------------------------

Which Arrow C++ version are you testing against? Version 6.0.0 should be fine: https://issues.apache.org/jira/browse/ARROW-14179

> [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
>            Priority: Major
>
> 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)