Skip to content

Commit

Permalink
feat: change Hashmap -> LinkedHashMap
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenHoangSon96 committed Dec 24, 2024
1 parent 0d84851 commit 52bb250
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
Expand Down Expand Up @@ -206,7 +206,7 @@ public Object[] getArrayObjectFromVectorSchemaRoot(@Nonnull final VectorSchemaRo
* @return A Map represents a row of data
*/
public Map<String, Object> getMapFromVectorSchemaRoot(@Nonnull final VectorSchemaRoot vector, final int rowNumber) {
Map<String, Object> row = new HashMap<>();
Map<String, Object> row = new LinkedHashMap<>();
for (FieldVector fieldVector : vector.getFieldVectors()) {
Object mappedValue = getMappedValue(
fieldVector.getField(),
Expand Down

0 comments on commit 52bb250

Please sign in to comment.