You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "roland (Jira)" <ji...@apache.org> on 2020/12/14 14:39:00 UTC
[jira] [Created] (ARROW-10901) toArray delivers double length
arrays in some cases
roland created ARROW-10901:
------------------------------
Summary: toArray delivers double length arrays in some cases
Key: ARROW-10901
URL: https://issues.apache.org/jira/browse/ARROW-10901
Project: Apache Arrow
Issue Type: Bug
Components: JavaScript
Affects Versions: 2.0.0
Reporter: roland
Attachments: Screen Shot 2020-12-14 at 3.34.24 PM.png
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)