diff --git a/airbyte-integrations/connectors/destination-snowflake/build.gradle b/airbyte-integrations/connectors/destination-snowflake/build.gradle index c63d242b7d01..a991fefc5fc7 100644 --- a/airbyte-integrations/connectors/destination-snowflake/build.gradle +++ b/airbyte-integrations/connectors/destination-snowflake/build.gradle @@ -26,7 +26,7 @@ application { dependencies { implementation 'com.google.cloud:google-cloud-storage:1.113.16' implementation 'com.google.auth:google-auth-library-oauth2-http:0.25.5' - implementation 'net.snowflake:snowflake-jdbc:3.12.14' + implementation 'net.snowflake:snowflake-jdbc:3.13.9' implementation 'org.apache.commons:commons-csv:1.4' implementation 'com.github.alexmojaki:s3-stream-upload:2.2.2' diff --git a/buildSrc/src/main/groovy/airbyte-integration-test-java.gradle b/buildSrc/src/main/groovy/airbyte-integration-test-java.gradle index 9d3bc6b98602..e7865a585445 100644 --- a/buildSrc/src/main/groovy/airbyte-integration-test-java.gradle +++ b/buildSrc/src/main/groovy/airbyte-integration-test-java.gradle @@ -45,6 +45,9 @@ class AirbyteIntegrationTestJavaPlugin implements Plugin { maxHeapSize = '3g' mustRunAfter project.test + + // This is needed to make the destination-snowflake tests succeed - https://github.com/snowflakedb/snowflake-jdbc/issues/589#issuecomment-983944767 + jvmArgs = ["--add-opens=java.base/java.nio=ALL-UNNAMED"] } // make sure we create the integrationTest task once in case a standard source test was already initialized