Skip to content

[JS] Typed arrays should not be nullable, null counts should be correct #40851

@domoritz

Description

@domoritz

Describe the bug, including details regarding any error messages, version, and platform.

const array = Int32Array.from([1, 12, 34])
const vec1 = arrow.vectorFromArray(array);

console.log(vec1.nullable) // should be false
console.log(vec1.nullCount) // should be 0
const vec2 = arrow.vectorFromArray([1, 2, 3]);
console.log("vec2")
console.log(vec2.nullCount) // should be 0
vec2.set(0, null)
console.log(vec2.nullCount) // should be 1 but is 2

Component(s)

JavaScript

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions