diff --git a/src/main/java/com/influxdb/v3/client/internal/VectorSchemaRootConverter.java b/src/main/java/com/influxdb/v3/client/internal/VectorSchemaRootConverter.java index 4c2bb8b..f0c00c5 100644 --- a/src/main/java/com/influxdb/v3/client/internal/VectorSchemaRootConverter.java +++ b/src/main/java/com/influxdb/v3/client/internal/VectorSchemaRootConverter.java @@ -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; @@ -206,7 +206,7 @@ public Object[] getArrayObjectFromVectorSchemaRoot(@Nonnull final VectorSchemaRo * @return A Map represents a row of data */ public Map getMapFromVectorSchemaRoot(@Nonnull final VectorSchemaRoot vector, final int rowNumber) { - Map row = new HashMap<>(); + Map row = new LinkedHashMap<>(); for (FieldVector fieldVector : vector.getFieldVectors()) { Object mappedValue = getMappedValue( fieldVector.getField(),