You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2020/10/15 18:44:00 UTC
[jira] [Resolved] (ARROW-9479) [JS] Table.from fails for zero-item
Lists, FixedSizeLists, Maps. ditto Table.empty
[ https://issues.apache.org/jira/browse/ARROW-9479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Hulette resolved ARROW-9479.
----------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 7771
[https://github.com/apache/arrow/pull/7771]
> [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
> Fix For: 3.0.0
>
> Time Spent: 40m
> 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)