[
https://issues.apache.org/jira/browse/ARROW-18247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628647#comment-17628647
]
thomas sarlandie commented on ARROW-18247:
------------------------------------------
I have submitted a PR to fix this issue.
> [JS] RangeError in Vector.toArray()
> -----------------------------------
>
> Key: ARROW-18247
> URL: https://issues.apache.org/jira/browse/ARROW-18247
> Project: Apache Arrow
> Issue Type: Bug
> Components: JavaScript
> Affects Versions: 9.0.0, 10.0.0
> Reporter: thomas sarlandie
> Assignee: thomas sarlandie
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> `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]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)