diff --git a/src/main/java/net/snowflake/client/jdbc/ArrowResultChunk.java b/src/main/java/net/snowflake/client/jdbc/ArrowResultChunk.java index 103f90555..3516966e6 100644 --- a/src/main/java/net/snowflake/client/jdbc/ArrowResultChunk.java +++ b/src/main/java/net/snowflake/client/jdbc/ArrowResultChunk.java @@ -212,7 +212,11 @@ private static List initConverters( break; case MAP: - converters.add(new MapConverter((MapVector) vector, i, context)); + if (vector instanceof MapVector) { + converters.add(new MapConverter((MapVector) vector, i, context)); + } else { + converters.add(new VarCharConverter(vector, i, context)); + } break; case VECTOR: