From 547c87e433aace452710bbdeb32f258c4cff2e2c Mon Sep 17 00:00:00 2001 From: NguyenHoangSon96 Date: Fri, 29 Nov 2024 14:40:26 +0700 Subject: [PATCH] fix: linter --- .../influxdb/v3/client/internal/VectorSchemaRootConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0fdc134..d316b54 100644 --- a/src/main/java/com/influxdb/v3/client/internal/VectorSchemaRootConverter.java +++ b/src/main/java/com/influxdb/v3/client/internal/VectorSchemaRootConverter.java @@ -166,13 +166,13 @@ public Object getMappedValue(@Nonnull final Field field, @Nullable final Object return value; } default: + return value; } } else if ("timestamp".equals(valueType) || Objects.equals(fieldName, "time")) { return NanosecondConverter.getTimestampNano(value, field); } else { return TypeCasting.toStringValue(value); } - return value; } /**