You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/10/04 20:45:00 UTC
[jira] [Updated] (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:all-tabpanel ]
ASF GitHub Bot updated ARROW-8452:
----------------------------------
Labels: pull-request-available (was: )
> [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
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)