[
https://issues.apache.org/jira/browse/ARROW-9479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-9479:
----------------------------------
Labels: pull-request-available (was: )
> [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
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)