thswlsqls opened a new pull request, #15809: URL: https://github.com/apache/iceberg/pull/15809
Closes #15808 `reset()` clears `numNulls` but not the `isNull` byte array, so `isNullAt()` can return stale values after a reset. `VectorizedArrowReader.read()` calls `reset()` when reusing vectors between batches. Fix: add `Arrays.fill(isNull, (byte) 0)` in `reset()`. The other two arrays (`nulls`, `nonNulls`) are immutable `arraycopy` source buffers and do not need clearing. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
