[ 
https://issues.apache.org/jira/browse/ARROW-10901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neal Richardson updated ARROW-10901:
------------------------------------
    Summary: [JS] toArray delivers double length arrays in some cases  (was: 
toArray delivers double length arrays in some cases)

> [JS] 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
>            Priority: Major
>         Attachments: Screen Shot 2020-12-14 at 3.34.24 PM.png, Screen Shot 
> 2020-12-14 at 3.38.54 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)

Reply via email to