vibhatha commented on code in PR #41676:
URL: https://github.com/apache/arrow/pull/41676#discussion_r1604284276
##########
java/vector/src/main/java/org/apache/arrow/vector/VectorLoader.java:
##########
@@ -98,7 +98,7 @@ private void loadBuffers(
CompressionCodec codec) {
checkArgument(nodes.hasNext(), "no more field nodes for field %s and
vector %s", field, vector);
ArrowFieldNode fieldNode = nodes.next();
- int bufferLayoutCount = TypeLayout.getTypeBufferCount(field.getType());
+ int bufferLayoutCount = TypeLayout.getTypeBufferCount(field.getType(),
vector);
Review Comment:
@lidavidm When we add this attribute to the `RecordBatch` message, should we
populate non View-type vectors with `0` values or just leave it as it is but
customize to pass `variadicBufferCounts` for View-type vectors?
--
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]