[
https://issues.apache.org/jira/browse/ARROW-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney updated ARROW-400:
-------------------------------
Assignee: (was: Wes McKinney)
I tried to fix this myself, but the following change resulted in a malformed
arrow file (the 2nd child field does not get properly written out):
https://github.com/wesm/arrow/commit/917848fae7c45983f52afaad7a817d33445f4f45
> [Java] ArrowWriter writes length 0 for Struct types
> ---------------------------------------------------
>
> Key: ARROW-400
> URL: https://issues.apache.org/jira/browse/ARROW-400
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java - Vectors
> Reporter: Wes McKinney
> Priority: Blocker
> Attachments: struct_error.json
>
>
> Observed in integration testing. In a length-7 struct, the field metadata for
> the struct node has length 0 in the flatbuffer. From C++ gdb:
> {code}
> (gdb) p field_meta
> $1 = {length = 0, null_count = 0}
> {code}
> See attached example json file
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)