[ https://issues.apache.org/jira/browse/ARROW-9479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicholas Roberts updated ARROW-9479: ------------------------------------ Description: deserializing zero-item tables (as generated by Table.empty or, in this case, pyarrow.Schema.serialize) with a schema containing a List, FixedList or Map fail due to an unconditional {code:java} new Data(/* preceding parameters */ buffers, [childData]){code} statement, the childData parameter resolves to [undefined] rather than the desired []. See [https://github.com/apache/arrow/pull/7771] for further details. was: deserializing zero-item tables (as generated by Table.empty or, in this case, pyarrow.Schema.serialize) with a schema containing a List, FixedList or Map fail due to an unconditional {code:java} new Data(/* preceding parameters */ buffers, [childData]){code} statement, the childData parameter resolves to [undefined] rather than the desired []. > [JS] Table.from fails for zero-item Lists, FixedSizeLists, Maps. ditto > Table.empty > ---------------------------------------------------------------------------------- > > Key: ARROW-9479 > URL: https://issues.apache.org/jira/browse/ARROW-9479 > Project: Apache Arrow > Issue Type: Bug > Components: JavaScript > Affects Versions: 0.17.1 > Reporter: Nicholas Roberts > Priority: Major > > deserializing zero-item tables (as generated by Table.empty or, in this case, > pyarrow.Schema.serialize) with a schema containing a List, FixedList or Map > fail due to an unconditional > {code:java} > new Data(/* preceding parameters */ buffers, [childData]){code} > statement, the childData parameter resolves to [undefined] rather than the > desired []. > See [https://github.com/apache/arrow/pull/7771] for further details. > -- This message was sent by Atlassian Jira (v8.3.4#803005)