Nicholas Roberts created ARROW-9479:
---------------------------------------

             Summary: [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


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 [].

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to