emkornfield commented on a change in pull request #7289:
URL: https://github.com/apache/arrow/pull/7289#discussion_r433647662



##########
File path: 
java/vector/src/main/java/org/apache/arrow/vector/VectorSchemaRoot.java
##########
@@ -54,7 +54,7 @@
   private Schema schema;
   private int rowCount;
   private final List<FieldVector> fieldVectors;
-  private final Map<String, FieldVector> fieldVectorsMap = new HashMap<>();
+  private final Map<Field, FieldVector> fieldVectorsMap = new 
LinkedHashMap<>();

Review comment:
       is there a reason no to change this to a Map<String, List<FieldVector>>?




----------------------------------------------------------------
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]


Reply via email to