Skip to content

[JS] Table.from fails for zero-item Lists, FixedSizeLists, Maps. ditto Table.empty #25550

@asfimport

Description

@asfimport

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 

new Data(/* preceding parameters */ buffers, [childData])

statement, the childData parameter resolves to  [undefined] rather than the desired [].

 See #7771 for further details.

 

Reporter: Nicholas Roberts

PRs and other links:

Note: This issue was originally created as ARROW-9479. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions