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

[jira] [Commented] (ARROW-8452) [Go][Integration] Go JSON producer generates incorrect nullable flag for nested types

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

Antoine Pitrou commented on ARROW-8452:
---------------------------------------

cc [~sbinet]

> [Go][Integration] Go JSON producer generates incorrect nullable flag for nested types
> -------------------------------------------------------------------------------------
>
>                 Key: ARROW-8452
>                 URL: https://issues.apache.org/jira/browse/ARROW-8452
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Go, Integration
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> It seems that when generating JSON integration data for a nested type, e.g.
> "list(int32)", the list's nullable flag is also inherited by child fields. This is wrong, because child fields have independent nullable flags, e.g. you may have:
> * "list(field("ints", int32, nullable=True), nullable=True)"
> * "list(field("ints", int32, nullable=False), nullable=True)"
> * "list(field("ints", int32, nullable=True), nullable=False)"
> * "list(field("ints", int32, nullable=False), nullable=False)"



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