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 field.name is "size", this["size"] will return the value of the size property on the Row instead of the value of the column. I fixed it locally by changing the values function to:
public *values() {
for (constfieldofthis[kParent].type.children) {
yield (thisasRowLike<T>)[this[kKeyToIdx].get(field.name)];
}
}
I discovered this issue using a row's
toJSON()
function. The problem is here: https://github.com/apache/arrow/blob/fc1d7d44317b20f899928755b05a774715f27ce8/js/src/vector/row.ts#L195When
field.name
is "size",this["size"]
will return the value of the size property on the Row instead of the value of the column. I fixed it locally by changing the values function to:Reporter: Bob Matcuk / @bmatcuk
Note: This issue was originally created as ARROW-15305. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: