You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Brian Hulette (JIRA)" <ji...@apache.org> on 2019/06/24 19:06:00 UTC

[jira] [Updated] (ARROW-5714) [JS] Inconsistent behavior in Int64Builder with/without BigNum

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

Brian Hulette updated ARROW-5714:
---------------------------------
    Description: 
When the Int64Builder is used in a context without BigNum, appending two numbers combines them into a single Int64:

{code}
> v = Arrow.Builder.new({type: new Arrow.Int64()}).append(1).append(2).finish().toVector()
> v.get(0)
Int32Array [ 1, 2 ]
{code}

Whereas the same process with BigNum creates two new Int64s.

  was:
When the Int64Builder is used in a context without BigNum, appending two numbers combines them into a single Int64:

{{
> v = Arrow.Builder.new({type: new Arrow.Int64()}).append(1).append(2).finish().toVector()
> v.get(0)
Int32Array [ 1, 2 ]
}}

Whereas the same process with BigNum creates two new Int64s.


> [JS] Inconsistent behavior in Int64Builder with/without BigNum
> --------------------------------------------------------------
>
>                 Key: ARROW-5714
>                 URL: https://issues.apache.org/jira/browse/ARROW-5714
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Brian Hulette
>            Assignee: Brian Hulette
>            Priority: Major
>             Fix For: 0.14.0
>
>
> When the Int64Builder is used in a context without BigNum, appending two numbers combines them into a single Int64:
> {code}
> > v = Arrow.Builder.new({type: new Arrow.Int64()}).append(1).append(2).finish().toVector()
> > v.get(0)
> Int32Array [ 1, 2 ]
> {code}
> Whereas the same process with BigNum creates two new Int64s.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)