Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9479

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

    XMLWordPrintableJSON

Details

    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 

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

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

       See https://github.com/apache/arrow/pull/7771 for further details.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              HPlusTime Nicholas Roberts
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m