kentkwu commented on issue #85: URL: https://github.com/apache/arrow-js/issues/85#issuecomment-3994405944
@domoritz, @trxcllnt this issue was resolved by https://github.com/apache/arrow/pull/40852. It can be closed out. Verified on main: ```ts import { makeBuilder, Float, Precision } from 'apache-arrow'; import assert from 'node:assert/strict'; const builder = makeBuilder({ type: new Float(Precision.DOUBLE), nullValues: [null] }); builder.append(1.0); builder.append(null); const vector = builder.toVector(); assert.equal(vector.get(0), 1.0); assert.equal(vector.get(1), null); assert.equal(vector.data[0].nullCount, 1); vector.data[0].setValid(0, false); assert.equal(vector.data[0].nullCount, 2); assert.equal(vector.get(0), null); assert.equal(vector.get(1), null); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
