diff --git a/src/main/java/net/snowflake/client/core/arrow/VectorTypeConverter.java b/src/main/java/net/snowflake/client/core/arrow/VectorTypeConverter.java index cb6edd529..2050a3d1f 100644 --- a/src/main/java/net/snowflake/client/core/arrow/VectorTypeConverter.java +++ b/src/main/java/net/snowflake/client/core/arrow/VectorTypeConverter.java @@ -27,8 +27,7 @@ public Object toObject(int index) throws SFException { if (isNull(index)) { return null; } - Object object = vector.getObject(index); - return object; + return vector.getObject(index); } @Override