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

[JS] RangeError in Vector.toArray()

    XMLWordPrintableJSON

Details

    Description

      `vector.toArray()` throws a `RangeError: offset is out of bounds` exception when it is called on a vector created with two or more `arrow.Data` objects and at least one has been padded for memory alignment.

       

      See reproduction here: https://observablehq.com/d/14488c116b338560

      Attachments

        Issue Links

          Activity

            People

              tsarlandie thomas sarlandie
              tsarlandie thomas sarlandie
              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 - 1.5h
                  1.5h