You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dominik Moritz (Jira)" <ji...@apache.org> on 2022/04/19 01:22:00 UTC
[jira] [Commented] (ARROW-11706) [JS] Better BigInt compatibility check
[ https://issues.apache.org/jira/browse/ARROW-11706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523972#comment-17523972 ]
Dominik Moritz commented on ARROW-11706:
----------------------------------------
I think this can be closed, no?
> [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: 50m
> 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.20.1#820001)