Hi Arrow developers, I have a quick question about Arrow Java code in 0.15.1. When I try to call setSafe for a BitVector, I may get an IndexOutOfBoundsException like below:
java.lang.IndexOutOfBoundsException: index: 3, length: 1 (expected: range(0, 3)) at io.netty.buffer.ArrowBuf.checkIndexD(ArrowBuf.java:337) at io.netty.buffer.ArrowBuf.chk(ArrowBuf.java:324) at io.netty.buffer.ArrowBuf.getByte(ArrowBuf.java:526) at org.apache.arrow.vector.BitVectorHelper.setValidityBit(BitVectorHelper.java:77) at org.apache.arrow.vector.BitVector.set(BitVector.java:331) at org.apache.arrow.vector.BitVector.setSafe(BitVector.java:383) Is this a bug? I haven't encountered anything like this while calling setSafe for other types of vectors. Best, -- Andong zhan Software Engineer Snowflake Inc. 450 Concar Drive, San Mateo, CA 94402 *Email:* andong.z...@snowflake.com