liyafan82 commented on a change in pull request #7326:
URL: https://github.com/apache/arrow/pull/7326#discussion_r468987274
##########
File path: java/vector/src/main/java/org/apache/arrow/vector/VectorUnloader.java
##########
@@ -76,6 +97,10 @@ private void appendNodes(FieldVector vector,
List<ArrowFieldNode> nodes, List<Ar
"wrong number of buffers for field %s in vector %s. found: %s",
vector.getField(), vector.getClass().getSimpleName(), fieldBuffers));
}
+
+ fieldBuffers = fieldBuffers.stream().map(
Review comment:
Agreed. I have changed it to a for loop.
----------------------------------------------------------------
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]