ShaoxiongTang opened a new issue #9360: URL: https://github.com/apache/arrow/issues/9360
In our project , when we attempt to append some vector to output buffer which is created by 'VectorSchemaRoot.create' method and had been not set values, we got follow error message  Related code:  Could we change code like this ? ``` int targetDataSize = targetVector.getValueCount() == 0 ? 0 : targetVector.getOffsetBuffer().getInt((long)targetVector.getValueCount() * BaseVariableWidthVector.OFFSET_WIDTH); ``` ---------------------------------------------------------------- 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: [email protected]
