diff --git a/src/main/java/net/snowflake/client/jdbc/ArrowResultChunk.java b/src/main/java/net/snowflake/client/jdbc/ArrowResultChunk.java index 83d55cfed..c273a8817 100644 --- a/src/main/java/net/snowflake/client/jdbc/ArrowResultChunk.java +++ b/src/main/java/net/snowflake/client/jdbc/ArrowResultChunk.java @@ -207,7 +207,11 @@ private static List initConverters( break; case OBJECT: - converters.add(new StructConverter((StructVector) vector, i, context)); + if (vector instanceof StructVector) { + converters.add(new StructConverter((StructVector) vector, i, context)); + } else { + converters.add(new VarCharConverter(vector, i, context)); + } break; case BINARY: