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

Diana Clarke updated ARROW-11706:
---------------------------------
    Component/s: JavaScript

> [JS] Better BigInt compatibility check
> --------------------------------------
>
>                 Key: ARROW-11706
>                 URL: https://issues.apache.org/jira/browse/ARROW-11706
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: JavaScript
>            Reporter: Diana Clarke
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> See: https://github.com/apache/arrow/pull/9110
> Check for whether {{BigInt64ArrayAvailable}} and {{BigUint64ArrayAvailable}} 
> are available, rather than just {{BigIntAvailable}}. Recent versions of 
> JavaScriptCore/WebKit in Safari support {{BigInt}} but do not support 
> {{BigInt64Array}}, and so anything that relies on {{BigInt64Array}} will fail 
> despite {{BigIntAvailable}} being true.
> The manifestation of this issue can be seen when trying to run the following 
> within Safari on a table that contains bigints:
> {code:java}
> RecordBatchJSONWriter.writeAll(table).toString(true)
> message: "BigUint64Array is not available in this environment"
>   BigUint64ArrayUnavailableError
>   BigUint64ArrayUnavailable
>   bignumToString
>   bigNumsToStrings
>   generatorResume@[native code]
>   performIteration@[native code]
>   visitInt
>   visit
>   map@[native code]
>   recordBatchToJSON
>   close
>   finish
>   global code
> {code}
> See also: https://bugs.webkit.org/show_bug.cgi?id=190800



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to