From 57082bac68630f3062228f25191d5daec740207d Mon Sep 17 00:00:00 2001 From: Denis Kiriaev Date: Tue, 26 Mar 2024 19:56:34 +0000 Subject: [PATCH] Fixed SNOW-1270256. --- .../snowflake/client/jdbc/SnowflakeResultSetSerializableV1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/snowflake/client/jdbc/SnowflakeResultSetSerializableV1.java b/src/main/java/net/snowflake/client/jdbc/SnowflakeResultSetSerializableV1.java index a7a1a7e98..5a7821e0b 100644 --- a/src/main/java/net/snowflake/client/jdbc/SnowflakeResultSetSerializableV1.java +++ b/src/main/java/net/snowflake/client/jdbc/SnowflakeResultSetSerializableV1.java @@ -599,7 +599,7 @@ public static SnowflakeResultSetSerializableV1 create( resultSetSerializable.parameters = SessionUtil.getCommonParams(rootNode.path("data").path("parameters")); if (resultSetSerializable.parameters.isEmpty()) { - resultSetSerializable.parameters = sfSession.getCommonParameters(); + resultSetSerializable.parameters = new HashMap<>(sfSession.getCommonParameters()); resultSetSerializable.setStatemementLevelParameters(sfStatement.getStatementParameters()); }