You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When row[kKeys].toArray() returns a typed array such as Float32Array, this means that ownKeys returns a Float32Array, which is a bug because a ProxyHandler is required to return an iterable of string or Symbol. (See Proxy.ownKeys.) This results in a crash when trying to use the in operator with a MapRow object.
Component(s)
JavaScript
The text was updated successfully, but these errors were encountered:
Describe the bug, including details regarding any error messages, version, and platform.
The MapRowProxyHandler ownKeys implementation currently calls array.map:
arrow/js/src/row/map.ts
Lines 109 to 111 in 40d4c54
When
row[kKeys].toArray()
returns a typed array such asFloat32Array
, this means thatownKeys
returns aFloat32Array
, which is a bug because aProxyHandler
is required to return an iterable ofstring
orSymbol
. (SeeProxy.ownKeys
.) This results in a crash when trying to use thein
operator with aMapRow
object.Component(s)
JavaScript
The text was updated successfully, but these errors were encountered: