Skip to content

Commit 712bbdd

Browse files
Merge pull request #2015 from gooddata/GRIF-266
GRIF-266: Fixing issue unsafe memory when LCM bricks connect with Snowflake data warehouse
2 parents b9054e4 + 961f2a0 commit 712bbdd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.79
1+
3.7.80

lib/gooddata/cloud_resources/snowflake/snowflake_client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def connect
8080
prop.setProperty('schema', @schema)
8181
prop.setProperty('warehouse', @warehouse)
8282
prop.setProperty('db', @database)
83+
# Add JDBC_QUERY_RESULT_FORMAT parameter to fix unsafe memory issue of Snowflake JDBC driver
84+
prop.setProperty('JDBC_QUERY_RESULT_FORMAT', 'JSON')
8385

8486
@connection = com.snowflake.client.jdbc.SnowflakeDriver.new.connect(@url, prop)
8587
end

0 commit comments

Comments
 (0)