Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
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:
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
Attachments
Issue Links
- links to