diff --git a/src/main/java/net/snowflake/client/core/Converters.java b/src/main/java/net/snowflake/client/core/Converters.java index bb4240cd9..28d195628 100644 --- a/src/main/java/net/snowflake/client/core/Converters.java +++ b/src/main/java/net/snowflake/client/core/Converters.java @@ -205,7 +205,7 @@ public Converter timeFromStringConverter(SFBaseSession session) { SnowflakeDateTimeFormat formatter = SnowflakeDateTimeFormat.fromSqlFormat( (String) session.getCommonParameters().get("TIME_OUTPUT_FORMAT")); - SFTimestamp timestamp = formatter.parse(value); + SFTimestamp timestamp = formatter.parse((String) value); return Time.valueOf( Instant.ofEpochMilli(timestamp.getTime()).atZone(ZoneOffset.UTC).toLocalTime()); };