rymurr commented on a change in pull request #7290: URL: https://github.com/apache/arrow/pull/7290#discussion_r452082717
########## File path: java/vector/src/main/codegen/templates/DenseUnionVector.java ########## @@ -268,11 +270,11 @@ public long getDataBufferAddress() { @Override public long getValidityBufferAddress() { - return validityBuffer.memoryAddress(); + return typeBuffer.memoryAddress(); } @Override - public ArrowBuf getValidityBuffer() { return validityBuffer; } + public ArrowBuf getValidityBuffer() { return typeBuffer; } Review comment: same here ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org