From 46bfd71a549485508fcf71044afd813f06a9dc37 Mon Sep 17 00:00:00 2001 From: Przemyslaw Motacki Date: Tue, 10 Dec 2024 13:47:59 +0100 Subject: [PATCH] fix for structured types strings --- .../net/snowflake/client/core/arrow/VectorTypeConverter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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