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

[JS] toArray delivers double length arrays in some cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.0.0
    • None
    • JavaScript
    • None

    Description

      When calling `toArray` on a column, one would expect that a column of length 10, would give back an array of length 10. Instead, it sometimes gives back an array of length 20.

      I think this is the case for elements where the type is something like Int64, where it's not guaranteed JS will actually fit the number into it Float (which iirc is not 64 bit exactly).
      At the same time, if I call `toArray`, I would expect the numbers to stay the same.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rolandpeelen roland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: