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/09/29 20:42:00 UTC

[jira] [Commented] (ARROW-14179) [C++] Import/Export of UnionArray in C data interface has wrong buffer count

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

Antoine Pitrou commented on ARROW-14179:
----------------------------------------

Thanks for the report. We should be able to fix this without breaking compatibility with previous exporters (by accepting an empty validity buffer on import).

> [C++] Import/Export of UnionArray in C data interface has wrong buffer count
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-14179
>                 URL: https://issues.apache.org/jira/browse/ARROW-14179
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Roee Shlomo
>            Priority: Major
>             Fix For: 6.0.0
>
>
> The C Data Interface implementation for UnionArray includes a validity buffer as the first buffer. However, union arrays should have no validity buffer according to the specification ([Arrow Columnar Format — Apache Arrow v5.0.0|https://arrow.apache.org/docs/format/Columnar.html#buffer-listing-for-each-layout])
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)