liyafan82 commented on a change in pull request #7290: URL: https://github.com/apache/arrow/pull/7290#discussion_r439325184
########## File path: java/vector/src/main/codegen/templates/DenseUnionVector.java ########## @@ -104,6 +105,7 @@ * The index is the type id, and the value is the type field. */ private Field[] typeFields = new Field[Byte.MAX_VALUE + 1]; + private byte[] typeMapFields = new byte[Byte.MAX_VALUE + 1]; Review comment: Could you please write some comments about the indices & values of the array? ---------------------------------------------------------------- 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