Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/snowflake/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>net.snowflake</groupId>
<artifactId>snowflake-jdbc</artifactId>
<version>3.24.2</version>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
4 changes: 2 additions & 2 deletions lib/gooddata/cloud_resources/snowflake/snowflake_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def initialize(options = {})
end

# When update driver class then also updating driver class using in connection(..) method below
Java.net.snowflake.client.jdbc.SnowflakeDriver
Java.net.snowflake.client.api.driver.SnowflakeDriver
end

def realize_query(query, _params)
Expand Down Expand Up @@ -99,7 +99,7 @@ def connect
# Add JDBC_QUERY_RESULT_FORMAT parameter to fix unsafe memory issue of Snowflake JDBC driver
prop.setProperty('JDBC_QUERY_RESULT_FORMAT', 'JSON')

@connection = com.snowflake.client.jdbc.SnowflakeDriver.new.connect(@url, prop)
@connection = Java.net.snowflake.client.api.driver.SnowflakeDriver.new.connect(@url, prop)
end

def build_url(url)
Expand Down
Loading